To figure out how many Quarter Pounders you can make, first you need to figure out what the formula is. Then you have to find out which ingredient is the limiting reagent, because that is what determines the what your final yield will be.
2H2+ O2 → 2H2O 8.5g- hydrogen 40.2g- oxygen
hydrogen is the limiting reagent