To find the equation of the line we first need to find the slope.
The slope is given by
[tex]m=\frac{y_2-y_1}{x_2-x_1}[/tex]In our case we have
[tex]\begin{gathered} m=\frac{-4-(-10)}{0-(-2)} \\ =\frac{-4+10}{2} \\ =\frac{6}{2} \\ =3 \end{gathered}[/tex]Now that we have the slope we also notice that the intercept of the line with the y-axis is -4.
Therefore, the equation is
[tex]y=3x-4[/tex]