The formula for determining the pressure, p, exerted on an object at a depth, h, below the surface of a liquid is p = s + dgh, where s is the atmospheric pressure, d is the density of the liquid, and gas the acceleration due to gravity.
p = s + dgh
dgh = p - s
h = (p - s)/dg
Which formula represents h in terms of p, s, d, and g? Formula B is correct.