Use the formula written below to find the distance between the point and line.
d=\frac{\left|Ax_1+By_1+C\right|}{\sqrt{A^2+B^2}}
Where A, B and C are coefficients of the terms of line Ax + By + C = 0.
Plug in the given values.
d=\frac{\left|2(2\right)-5\left(-1\right)+10|}{\sqrt{\left(2\right)^2+\left(-5\right)^2}},
d=\frac{19\sqrt{29}}{29}