The points are and .
Use distance formula :
The distance between two points and is .
Substitute the points and in the distance formula.
The distance between the points and is .