The potential energy of an object varies jointly with the mass of the object and the height of the object off the ground. A 40-kg object is 2 meters off the ground. The potential energy of the object is 784 joules. A 10-kg object is 3 meters off the ground. What is the potential energy of the 10-kg object?