At 400 K, the root mean square (rms) speed of a gas X (molecular weight = 40) is equal to the most probable speed of gas Y at 60 K. The molecular weight of the gas Y is
see in these question u can directly apply the proportionality of rms with molecular mass and with temp.and by comairing like stated below u can reach the answer
t/T=M/m