The rate of diffusion of gases under similar conditions of temperature and pressure is inversely proportional to the square roots of their molecular masses, i.e.
Rate of diffusionαM1
The correct increasing order of molecular masses of given gases is, H2<CH4<O2<CO2 ∴ Increasing order of rate of diffusion will be CO2<O2<CH4<H2
Thus, CO2 has the slowest rate of diffusion.