The points are A and B
.
The distance between two points is
.
(Substitute
)
(Subtract:
)
(Evaluate powers:
)
(Add:
)
The distance between two points A and B is units.