Cześć!
Obliczenia
[tex]A=(-8,2)\longrightarrow x_A=-8, \ y_A=2\\\\B=(-3,1)\longrightarrow x_B=-3, \ y_B=1\\\\|AB|=\sqrt{(x_B-x_A)^2+(y_B-y_A)^2}\\\\|AB|=\sqrt{(-3-(-8))^2+(1-2)^2}\\\\|AB|=\sqrt{(-3+8)^2+(-1)^2}\\\\|AB|=\sqrt{5^2+1}\\\\|AB|=\sqrt{25+1}\\\\\huge\boxed{|AB|=\sqrt{26}}[/tex]