\(n_{CO_2}=\dfrac{2.24}{22.4}=0.1\left(mol\right)\)
\(n_{H_2O}=\dfrac{6.3}{18}=0.35\left(mol\right)\)
\(CH_4+2O_2\underrightarrow{^{^{t^0}}}CO_2+2H_2O\)
\(0.1..................0.1.......0.2\)
\(2H_2+O_2\underrightarrow{^{^{t^0}}}2H_2O\)
\(0.15........0.35-0.2\)
\(m_{CH_4}=0.1\cdot16=1.6\left(g\right)\)
\(m_{H_2}=0.15\cdot2=0.3\left(g\right)\)
\(\overline{M}_X=\dfrac{1.6+0.3}{0.1+0.15}=7.6\left(\dfrac{g}{mol}\right)\)
\(d_{\dfrac{X}{H_2}}=\dfrac{7.6}{2}=3.8\)