This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] $\text{CH}_4+2\text{O}_2\to\text{CO}_2+2\text{H}_2\text{O}$. $22$ g $\text{CO}_2=0.5$ mol, so $0.5$ mol of methane is needed $=50\times10^{-2}$ mol. $x=50$. Answer: 50.