Considering that gases behave idealy, PV= nRT
For the mixture of methane and nitrogen,
No. of moles =
​ =
= 1.23 moles.
For carbon dioxide,
No. of moles
=
= 0.69 moles.
And,
CH4 + 2O2 CO2 + 2H2O
1 mole of methane gives 1 mole of carbon dioxide
therefore,
0.69 moles of carbon dioxide is given by 0.69 moles of methane.
No. of moles of nitrogen = 1.23 - 0.69
= 0.59 moles
Composition of mixture is methane by nitrogen is 0.69 : 0.59