The monopole term is
Here, is the permittivity of free space.
Substitute form of charge density and use equation (1),
The dipole term is
Substitute form of charge density and use equation (1),
The quadrupole term is
Substitute form of charge density and use equation (1),
Thus, the approximate potential is
Thus, the potential is .