Rate of diffusion of gases is directly proportional to partial pressure and inversely proportional to square root of molecular mass.
R1
RX
=√
Mx
M1
(where R1= rate of diffusion of methane gas, RX= rate of diffusion of X′ gas, MX= molecular mass of ' X ' gas, M1= molecular mass of methane gas) As, R1=2RX