Group law on the neutral component of the Jacobian of a real curve of genus 2 having many real components Emergent metric and geodesic analysis in cosmological solutions of (torsion-free) polynomial affine gravity 