Hint: Use the concept of RMS speed.
Step 1: Write the formula of RMS speed.
For n-molecules, we know that,
vrms=√v21+v22+v23+......+v2nn
[vrms=root mean square velocity]
Where v1, v2, v3 .............vn are individual velocities of n-molecules of the gas
Step 2: Find the RMS speed of the gas.
For two molecules,
vrms=√v21+v222 [ v1, v2, v3..............vn are individual velocities]
Given,
v1=9×106 m/s
v2=1×106m/s
vrms=√(9×106)2+(1×106)2
=√81×1012+1×10122
=√(81+1)×10122
=√82×10122
=√41×106 m/s