Molality and mole fraction

Exercise 8

1) In a mixture of two gases 1 and 2, express the molar fraction of a component based on pressures! 2) Calculate the mole fraction of oxygen in the exhaled air, whereby the partial pressure of this gas is $160\;mmHg$