Hello, Jacob,
This requires use of the ideal gas law PV = nRT. Pressure times Volume is equal to the moles * (gas constant R)*(Temperature in K).
I chose a gas constant with units consistent with the data. Also, C needs to be converted to K.
First, I calculated the pressures of the individual gases. Just plug the numbers into the ideal gas law equation, and make sure the units cancel as expected.
I first calculated the total pressure by adding the moles of O2 and H2, for 9.5 moles total. The system pressure is 11.7 atm.
Two separate calculations are needed to arrive at an O2 partial pressure of 4.31atm and an H2 partial pressure of 7.38atm. This sums to 11.7atm, as expected.
There are only 2 sig figs in the moles, so use that number in the final answers.
Bob