Uinitial =U12+U13+U23=2akq2−akq2−akq2=2akq2−a2kq2=2a−3kq2After exchanging the final charge with one of the negative charge, there are two - q charges separated by a distance a and one +q charge separated by a distance ' a ' from one of the −q charges.∴Ufinal =U12′+U13′+U23′=akq2−2akq2−akq2=2a−kq2∴ΔU=Ufinal −Uinitial =−2akq2−(2a−3kq2)=2a2kq2=akq2=4πε0aq2[∵k=4πε01]