Molar mass of :
O2 = 16 * 2 = 32 g/mol
CO2 = 12 + 16 * 2 = 44 g/mol
Balanced chemical equation :
1 CH4 + 2 O2 = 1 CO2 + 2 H2O
↓ ↓
2 moles 1 mole
2* 32 g O2 ----------> 1* 44 g CO2
x g O2 ------------> 10.0 g CO2
44 x = 2 * 32*10.0
44 x = 640
[tex]x = \frac{640}{44} [/tex]
[tex]x = 14.54 g[/tex] of O2