A block B of mass 5 kg is attached to one end of a light inextensible string. A particle P of mass 4 kg is attached to the other end of the string. The string passes over a smooth pulley. The system is in equilibrium with the string taut and its straight parts vertical. B is at rest on the ground (see diagram). State the tension in the string and find the force exerted on B by the ground.