The formula to calculate the distance between two points in the cartesian plane is the following:
[tex]\begin{gathered} d=\sqrt{\left(x_2-x_1\right)^2+\left(y_2-y_1\right)^2} \\ \end{gathered}[/tex]replacing:
[tex]\begin{gathered} d=\sqrt{\left(2-(-5)\right)^2+\left(6-4\right)^2} \\ d=\sqrt{\left(7\right)^2+\left(2\right)^2} \\ d=\sqrt{49+4} \\ d=\sqrt{63} \\ d=7.94 \end{gathered}[/tex]The distance between the two points is 7.94 units