Let xg each of oxygen and methane are mixed.
The moles of oxygen and methane are x32 and x16 respectively.
The mole fraction of oxygen is =x32x32+x16=13.
The partial pressure of oxygen is the product of its mole fraction and total pressure.
Thus PO2=p×13 or PO2p=13.