[tex] \sqrt{(x_2-x_1)^2 + (y_2 - y_1)^2} = D [/tex]
Let's assign -8 to be x_1 and -2 to be x_2. 5 will be y_2 and -6 will be y_1.
[tex] \sqrt{(-8 -(-2))^2 + 5 - (-6))^2} = \sqrt{(-8 + 2)^2 + (5 + 6)^2} = \sqrt{36 + 121} [/tex]
The distance will equal to the square root of 157.