Cześć!
Obliczenia
[tex]A=(-4,2)\rightarrow x_A=-4, \ y_A=2\\\\B=(-8,2)\rightarrow x_B=-8, \ y_B=2\\\\|AB|=\sqrt{(x_B-x_A)^2-(y_B-y_A)^2}\\\\|AB|=\sqrt{(-8-(-4))^2+(2-2)^2}\\\\|AB|=\sqrt{(-8+4)^2+0^2}\\\\|AB|=\sqrt{(-4)^2+0}\\\\|AB|=\sqrt{16}\\\\\huge\boxed{|AB|=4}[/tex]