Bizarre wording anyway.
With pure oxygen, the reaction won't produce CO2 nor be complete. Expect CO, O2, H2 and many radicals, in proportions depending much on the temperature.
The heat capacity of CO2 and H2O are given arbitrarily as 7.5*R and 7.0*R but measured values differ and not little.
It would also be useful to know if methane's heat of combustion is measured at 300K and if the resulting H2O is liquid.
The "heat stored in the reactants" makes little sense because the heat capacity changes so much at cold. The text should tell if this is an integral heat capacity measured from zero to 300K - including all phase changes in case the pressure isn't vanishingly small. Instead of following the hints, I'd feel more sensible to compute the final temperature starting from 300K, especially if (as is usual) the heat of combustion is measured at 300K.