Try to express density of a gas as a function of its composition. Start assuming there is 1 mole of gases together, and it contains x moles of He and (1-x) moles of O2. What is a mass of the mixture (expressed in terms of x and (1-x)? What is its density (hint: what is volume of 1 mole of gas regardless of its composition)?