An object of mass 1.5 kg rests on a shelf where it has gravitational potential energy of 7 joules. An object of mass 4.5 kg is placed on the same shelf. What is the gravitational potential energy of second object

m g h

only m changed
(4.5 / 1.5) * 7