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