What is the distance formula
The distance between points (x1, y1) and (x2, y2) is given by sqrt( (x2-x1)2 + (y2-y1)2 ).
.