The distance of point from the x-axis is . The direction ratios of the line joining two points are
The length of the distance from the point from axis is
Hence,
The given points are
The direction ratios of the line joining the points and is
Therefore, the direction ratios of the line joining the points is