The points are given by
and
.
Find the distance between the points
and
.
(Distance formula in space)
(Substitute
)
(Product of two same signs is positive)
(Simplify)
(Evaluate powers)
(Add:
)
Find the midpoint of the points
and
.

(Substitute
)
(Product of two op[posite signs is negative)
(Simplify)
(Divide)
The value of
and mid point is
.