The formula for potential energy is P = mgh, where P is potential energy, m is mass, g is gravity, and h is height. What is height h in terms of P, m, and g?