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