[tex]|AB|=\sqrt{(x_A-x_B)^2+(y_A-y_B)^2}\\\\|AB|=\sqrt{(3-5)^2+(-2-(-7))^2}\\|AB|=\sqrt{(-2)^2+(-2+7)^2}\\|AB|=\sqrt{4+5^2}\\|AB|=\sqrt{4+25}\\|AB|=\boxed{\sqrt{29}\,[j]}[/tex]