What is the gravitational potential energy of a system of 8 masses of 10 kg each placed at the corners of a cube of length 0.25 meter apart.
One possible method: It's the sum of the PE of each of the object pairs. Each pair has PE= -Gm1m2/d where d is the separation. As all the masses are the same then this is the sum of -Gm2/d for each pair
This method would require you to identify all 28 pairs with their corresponding values of d. It's made easier by the fact that there are only 3 different values of d, so you can just multiply up all the similar ones.