The diagram representation of the given problem is shown in figure. The electrical field
→
E
at all points on the X-axis will not have the same direction. The electric field
→
E
at all points on the Y-axis will be parallel to the X-axis (i.e.
⋀
i
direction). The electric potential at the origin due to both the charge is zero, hence, no work is done in bringing a test charge from infinity to the origin. Dipole moment is direction from the −q charge to the +q charge (i.e. −x direction).