Potential at point P = \(\frac q{4\pi \in_0d_1} = V_1\)
Potential at point Q = \(\frac q{4\pi \in_0d_2} = V_2\)
\(W = q_1[V_2 - V_1]\)
\(= q_1 \left[\frac q{4\pi \in_0d_2 }-\frac q{4\pi \in_0d_1} \right]\)
\(= \frac {qq_1}{4\pi \in _0} \left[\frac 1{d_2 }- \frac 1{d_1}\right]\)
\(= 9 \times 10^9 \times 8 \times 10^{-3} \times (-2 \times 10^{-9}) \left[\frac 1{0.04} - \frac 1{0.03}\right]\)
\(= -144\times 10^{-3} \times \left[\frac{-25}3\right]\)
\(= 1.27 J\)
\(\therefore \) Work done = 1.27J