Hii there !
The reaction accompanying production of water in this case would be -
Thus ,by observing the reaction, we can conclude that 2 mole of Hydrogen
react with 1 mole of oxygen
to produce 2 mole of water
Now,
To produce 1 moles of water.
Moles of Oxygen
required
moles
Similarly,
To produce 4 moles of water.
Moles of Oxygen
required =
moles
2 moles
Hope it helps.