Formula for mean free path is
λ=RT√2πd2NAP
R=gas constant
T=temperature
NA=Avogadro's constant
P=Pressure
d=collision diameter
Let collision diameter of H2=d
Then collision diameter of CH4=2d
Given:
A⇒H2⇒100K→4atm→d
B⇒CH4⇒200K→1atm→2d
λ(CH4)λ(H2)=(P×200√2×π×(2d)2×NA×1)(P×100√2×π×(d)2×NA×4)
ratio=2:1