Show that the plane ax+by+cz+d=0divides the line joining the points
(x1,y1,z1)and(x2,y2,z2) in the ratio
−ax1+by1+cz1+dax2+by2+cz2+d.
The coordinates of the mid-point of the line segment joining two points P(X1, y1, z1) and Q(x2, y2, z2) are: