Step-by-step explanation:
The work of the electric force does not depend on the trajectory or the path taken. Regardless of trajectory a and b we have the following
Vide picture
Wab: Work
K: coulomb constant (9·109 N·m2/C2)
Ra,Rb: distances
Qq: electric charges