Answer
$y=3x-2$
Work Step by Step
Let $(x_{1},y_{1})=(0,-2)$ and $(x_{2},y_{2})=(4,10)$
Slope $m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\frac{10-(-2)}{4-0}=3$
Because the line crosses the y-axis at $(0,-2)$, the y-intercept $b$ is $-2$.
Slope-intercept form is $y=mx+b$.
Substituting the values of $m$ and $b$, we get the equation as
$y=3x-2$