Working on a practice exam. The question is
A volume of gas contains
0.25 moles of $\ce{CO2}$
0.30 moles of $\ce{N2}$
0.15 moles of $\ce{O2}$What is the partial pressure of $\ce{O2}$ if the total pressure was $690\ \mathrm{mmHg}$ and the temperature was $25.0\ \mathrm{^\circ C}$
I know the formula is $p_a=\dfrac{n_aRT}{V}$
So far I know that
$n_a = 0.25\ \mathrm{mol}$
$R = 0.0821\ \mathrm{l\ atm\ K^{−1}\ mol^{−1}}$
$T = 298\ \mathrm K$
But I can't seem to figure out volume. I was reading somewhere that volume is directly proportional to The amount of moles, but maybe it has something to do with the total pressure. I'm a little lost.
The only thing I can think of would be getting volume via the Ideal Gas Law as well. Would that work?