The distance formula is: d = √[ (x2 - x1)² + (y2 - y1)² ]
It makes no differnce which point you call (x1, y1) and which point you call (x2, y2).
If (x1, y1) = (-6, 5) and (x2, y2) = (-1, -7),
then x1 = -6 y1 = 5 x2 = -1 and y2 = -7
Substituting: d = √[ (-1 - -6)² + (-7 - 5)² ]
d = √[ (5)² + (-12)² ]
d = √[ 25 + 144 ]
d = √[ 169 ]
d = 13
The distance formula is: d = √[ (x2 - x1)² + (y2 - y1)² ]
It makes no differnce which point you call (x1, y1) and which point you call (x2, y2).
If (x1, y1) = (-6, 5) and (x2, y2) = (-1, -7),
then x1 = -6 y1 = 5 x2 = -1 and y2 = -7
Substituting: d = √[ (-1 - -6)² + (-7 - 5)² ]
d = √[ (5)² + (-12)² ]
d = √[ 25 + 144 ]
d = √[ 169 ]
d = 13