First step: balance your equation.
$\ce{(CH2)$_n$ + O2 -> CO2 + H2O}$ is not balanced, this is:
$$\ce{(CH2)_{\it n} + \frac{3 }{2}{\it n}~O2 -> {\it n}~ CO2 + {\it n}~ H2O}$$
Second step: perform mole balances on relevant species.
The balanced equation has $1 + \frac{3}{2}n$ moles of gas reacting, and $2 n$ moles of gas formed. However, the question states that the products are cooled to room temperature, which would eliminate the water from the gas phase. Thus the reaction were are really interested in is
$$\ce{(CH2)_{\it n}_{\rm(g)} + \frac{3 }{2}{\it n}~O2_{(g)} -> {\it n}~ CO2_{(g)} + {\it n}~ H2O}_{(l)}$$
This means that $1 + \frac{3}{2}n$ moles of gas react, and $n$ moles form for each mole of reaction $\xi$. Thus, the reaction causes a loss in moles of gas of is $-(1 + \frac{1}{2}n)$ moles per mol $\xi$ of reaction. If we assume the ideal gas law applies, then we could also say that the loss in volume from the reaction is $(1 + \frac{1}{2}n)~{\mathrm{{cm}^3}}$ per $\xi~{\mathrm{{cm}^3}}$ of reaction.
Thus a total gas balance is:
$$\rm GAS~IN - GAS~OUT = GAS~REACTED $$
$$(60~\mathrm{{cm}^3} + 10~\mathrm{{cm}^3}) - (45~\mathrm{{cm}^3})=(1 + \frac{1}{2}n)~\xi$$
A $\ce{CO2}$ balance is
$$\rm \ce{CO2}~IN - \ce{CO2}~OUT = \ce{CO2}~REACTED $$
$$ 0 - x = - n \xi $$
Third step: assess the resulting equations
These equations are not solvable for $x$ because they depend on both $\xi$ and $n$. That is, there are two equations, and three unknowns. Writing additional balances on oxygen or on fuel will not help because we will not know the gas remaining for either species, so each new equation would introduce new variables. Thus, we will need additional assumptions to solve the problem.
Fourth step: determine additional assumptions.
Probably we should assume that either (a) fuel was in excess or (b) oxygen was in excess, which is equivalent to assuming that (a) oxygen was completely consumed or (b) fuel was completely consumed. At least one of these assumptions makes sense because combustion reactions are essentially irreversible. In my answer I'll assume oxygen was in excess, meaning that the fuel was completely consumed. You should make the alternate assumption and repeat the procedure.
Fifth step: apply additional assumptions.
Assuming fuel was completely consumed, a fuel balance is
$$\rm FUEL~IN - FUEL~OUT = FUEL~REACTED $$
$$\rm (10~\mathrm{{cm}^3}) - 0=\xi $$
This conveniently gives us a solution for $\xi$, the extent of reaction. It is $10~\mathrm{{cm}^3}$.
Sixth step: use new information to solve existing equations
We can substitute that solution for $\xi$ into the total gas balance to get that $1 + \frac{1}{2}n = 3$, which implies that $n=4.$ That and our solution for $\xi$ allows us to solve the problem: if oxygen is in excess, then 40 $\mathrm{{cm}^3}$ of $\ce{CO2}$ were formed.