Suppose the pressure at the surface of mercury in a barometer tube is P1 and the pressure at the surface of mercury in the cup is P2.