WO2 = 4g
∴ Moles of O2 = (4/32) = (1/8)
WH2 = 2g
∴ Moles of H2 = (2/2) = 1
Total moles present in mixture = (1/8 + 1) = 9/8
Volume of vessel = 1 litre
Temperature = 273 K
Now for pressure of mixture, p x v = nRT
p x 1 = (9/8) x 0.0821 x 273
∴ p = 25.215 atm.