The answer would be:
D.
X: Low potential energy
Y: High Potential energy
Z: Flow of electrons
Z is clearly the flow of electrons, as shown by the arrow demonstrating the direction of the flow. So you can easily cross out choices B and C. Now, you can see that Y has more energy stored and X has a lot less, so you can conclude that Y has high potential energy while X has low potential energy.