At 20.0°C the vapour pressure of pure methanol is 11.8 kPa and that of pure ethanol is 5.93 kPa. A gaseous mixture of methanol and ethanol is cooled and compressed until the first drops of liquid form at 20.0°C and a total pressure of 10.0 kPa. Assuming the liquid mixture behaves ideally, calculate the mole fractions of methanol in:

a) In liquid phase
b) Gas phase