Problem 1163 
b. The composition in mole fraction of pentane in the vapor phase can be calculated from the pressure
For a gas:
P_{total} = P_{a} + P_{b}
n_{total} = n_{a} + n_{b} (PV = nRT)
In this problem (all vapor phase):

is the same as 

