Find the potential energy of the system of three particles.