the liquid at A is exposed to atmospheric pressure, when the gas supply is turned on, the gas will exert pressure b on the liquid at B, as b is higher than atmospheric pressure, the liquid at A will rise until the pressure at C which is on the same level as B, equals the gas pressure which is determined by taking c - a =hpg, where c is the pressure at C, and a is the pressure at A, and since the pressure b is the same as c, the pressure b is determined as a + hpg = b