From the ideal gas equation, total number of moles in the mixture are,
n=RTPV=25×3002×10−3×100×103×3⇒n=252=0.08
If number of moles of oxygen are n1 and of hydrogen are n2
n1+n2=n=0.08…(1)
And total mass of the mixture
n1(32)+n2(2)=0.76…(2)
Solving the above equations,
n1=0.02 and n2=0.06
n1n2=3