The coordinates of the mid-point of the line segment joining two points P(X1, y1, z1) and Q(x2, y2, z2) are:
The distance between the points P(x1, y1, z1) and Q (x2, y2, z2) is given by: