Three point charges $+q$, $-2q$ and $+q$ are placed along $x$-axis at points $x = -1$ m, $x = 0$ m and $x = 2$ m respectively. The potential energy of the system is
Two charges of $8\,\mu\text{C}$ and $-4\,\mu\text{C}$ are located at points $(-18\ \text{cm}, 0, 0)$ and $(18\ \text{cm}, 0, 0)$ respectively.
(i) Calculate the electrostatic potential energy of the system of the two charges.
(ii) The same system of charges is placed in a region where electrostatic potential $V(r) = \dfrac{A}{r}$, where $A = 9 \times 10^4$ V.m. Calculate the potential energy of the system.