I'm trying to solve exercise 3.3.26 in Hatcher's Algebraic Topology:
Compute the cup product structure in $H^{*}((S^{2}\times S^{8})\#(S^{4}\times S^{6});\mathbb{Z})$, and in particular show that the only nontrivial cup products are those dictated by Poincaré duality.
What I know: I can use Künneth formula to compute the cohomology ring and individual groups of each product space. I also know that the cohomology group of the connected sum is isomorphic to the direct sum of cohomology groups at the same dimension for $0 < i < 10$. This was an earlier exercise I solved.
What I'm struggling with is inferring the cup product structure. Since "connecting" is happening at dimension $10$, I can guess that the cup product at lower dimensions is unaffected. In other words it happens in each component of direct sums individually. I can also guess that the connected sum identifies the $10$-cell of both products into one.
I have no idea how to show this rigorously. Could somebody please show me how to do this? Also how is Poincaré duality helpful here as hinted by the exercise?
Thanks