Determine the electric dipole moment of the system of three charges