(a) The potential difference between the surfaces is
∣ΔV∣=Ed=10×2=20 V
The field points from Y towards X, and potential decreases along the field, so Y is at the higher potential:
VY=VX+20=10+20=30 V
(b) The work done by an external agent in moving q from Y to X is
W=q(VX−VY)=2×(10−30)=−40 J
(The negative sign means the field itself does +40 J of work: the positive charge moves along the field.)
Along path 2 the work is the same, −40 J. The electrostatic force is conservative, so the work depends only on the potentials of the start and end points, not on the path joining them.