A dipole with an electric moment p is located at a distance
r from a long thread charged uniformly with a linear density X.
Find the force F acting on the dipole if the vector p is oriented
(a) along the thread;
(b) along the radius vector r;
(c) at right angles to the thread and the radius vector r.