Correct answer: Potential energy
Potential energy in a two-particle system is a function of their relative separation, because it comes from the interaction between the particles. Kinetic and total mechanical energy also depend on motion, so they are not determined only by distance.