[tex]\bf \textit{distance between 2 points}\\ \quad \\
\begin{array}{lllll}
&x_1&y_1&x_2&y_2\\
% (a,b)
&({{ 6}}\quad ,&{{ -4}})\quad
% (c,d)
&({{ 2}}\quad ,&{{ -7}})
\end{array}\qquad
% distance value
d = \sqrt{({{ x_2}}-{{ x_1}})^2 + ({{ y_2}}-{{ y_1}})^2}
\\\\\\
d=\sqrt{[2-6]^2+[-7-(-4)]^2}\implies d=\sqrt{(2-6)^2+(-7+4)^2}[/tex]