notice the grid, the points are (-5, -2) and (4, -1), thus
[tex]\bf ~~~~~~~~~~~~\textit{distance between 2 points}\\ \quad \\
\begin{array}{ccccccccc}
&&x_1&&y_1&&x_2&&y_2\\
% (a,b)
&&(~{{ 4}} &,&{{ -1}}~)
% (c,d)
&&(~{{ -5}} &,&{{ -2}}~)
\end{array}~~
% distance value
d = \sqrt{({{ x_2}}-{{ x_1}})^2 + ({{ y_2}}-{{ y_1}})^2}
\\\\\\
d=\sqrt{[-5-4]^2+[-2-(-1)]^2}\implies d=\sqrt{(-5-4)^2+(-2+1)^2}
\\\\\\
d=\sqrt{(-9)^2+(-1)^2}\implies d=\sqrt{81+1}\implies d=\sqrt{82}[/tex]