\[ \text{CH}_4\,(g) + 2\text{O}_2\,(g) \rightarrow \text{CO}_2\,(g) + 2\text{H}_2\text{O}\,(l) \]
\[ n_{\text{CO}_2} = \frac{22}{44} = 0.5 \, \text{moles} \]
\[ \text{So moles of CH}_4 \text{ required} = 0.5 \, \text{moles} \]
\[ \text{i.e., } 50 \times 10^{-2} \, \text{mole} \]
\[ x = 50 \]