The distance between the line and the point is:
$$ d = \frac{ 4 \sqrt{ 10}}{ 5 } $$The distance from the point $ (x_0, y_0) $ to the line $ Ax + By + C = 0 $ is given by:
$$ d = \frac{ \left| Ax_0 + B_yo + C \right| }{ \sqrt{A^2 + B^2}} $$To apply this formula, we first need to express the line in standard form
$$\begin{aligned} y & = - 3 x + 7 \\3x+y-7&=0\end{aligned}$$After substituting: $ A = 3 $ , $ B = 1 $ , $ C = -7 $ , $ x_0 = -1 $ and $ y_0 = 2 $ we have:
$$ \begin{aligned} d =& \frac{ \left| 3\cdot\left(-1\right) +1\cdot2 + \left( -7\right) \right| }{\sqrt{ 3^2 + 1^2}} = \\ d =& \frac{ \left| -3 + 2 -7 \right| }{\sqrt{ 9 + 1}} = \\ d =& \frac{ \left| -8 \right| }{\sqrt{ 10}} = \\ d =& \frac{ 8 }{ \sqrt{ 10 } } = \\ d =& \frac{ 4 \sqrt{ 10}}{ 5 } \end{aligned} $$