The kinetic theory of gases

Exercise 3

    

Under what condition the molecules of two different (supposed ideal) gases 1 and 2 do they have the same average square speed $u$?