A gas mixture at 350 K and 300 kPa

A gas mixture at 350 K and 300 kPa has the following volumetric analysis: 65 percent N2, 20 percent O2, and 15 percent CO2. Determine the mass fraction and partial pressure of each gas.