Mean Kinetic energy is given as, K⋅E=23nRTn= no. of molecules. R= Constant. T= Temperature.
For H2, K⋅EH2=23nH2RT⟶(1)
For 2, K⋅EO2=23nO2RT⟶(1)
On dividing equation (1) by equation (2) we get, K⋅EO2K⋅EH2=nO2nH2
given nH2=2nO2, K⋅EO2K⋅EH2=nO2n2O2=12
Thus the ration is 2:1.