Explanation:
take as if this points are on a line segment AB
Dab = square root of ( xa - xb) ^2 + ( y a- yb) ^2
= square root of [ (-6) - (-5) ]^2 + [ (-4) - (-4) ]^2
= square root of (-1)^2 + (0)^2
= square root of 1 + 0
= square root of 1
= 1 units
The distance from AB is 1 unit