The increment of 0.5atm is due to the H2 gas:O2 gas = 2:1. So the pressure of H2 gas is 0.5/3 atm while that of O2 gas is 0.5/3 (2) atm. But this only give pressure & doesnt give volume of H2 & O2
First of all: if you know partial pressure and total volume of a gas, you can calculate number of moles from PV=nRT, then you can convert it back to the partial volume for any given pressure/temperature.
But there is no need for that. I asked you if you know Dalton's law and Avogadro hypothesis - they not only tell you how to calculate partial pressures of the gases present, if combined with the ideal gas law they also tall you how to calculate partial volumes. If you have a volume V of a gas mixture, and partial pressure of the gas X in this mixture is P
x, and the total pressure is P, partial volume of the gas is [itex]\frac {P_x} P \times V[/itex]. Actually it will yield the same result your friend got (and not without a reason).
i get V2 = 3.33. It seems weird because headspace volume is fixed to be 5ml.
That would mean the only answer that you are ready to accept is that hydrogen volume is 5 mL and oxygen volume is 5 mL (at the same time you will probably not accept this answer for other reasons). Looks like you are confusing yourself by not differentiating between volume and partial volume.