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