The average speed of molecules is given by . We observe that greater the mass, lesser is the average speed of the molecule. Since an oxygen molecule is heavier than a hydrogen molecule, the oxygen molecule will hit the wall with smaller average speed.
Thus, (b) is the correct answer.