(a) Sought work is equivalent to the work performed against the electric field created by one plate, holding at rest and to bring the other plate away. Therefore the required work,
is the intensity of the field created by one plate at the location of other.
(b) When voltage is kept const., the force acing on each plate of capacitor will depend on the distance between the plates.
So, elementary work done by agent, in its displacement over a distance dx, relative to the other,
Alternate : From energy Conservation,