Answer
$y=\frac{4}{5}x-5$
Work Step by Step
$f(5)=-1$ can be written as $(5,-1)$ and $f(0)=-5$ as $(0,-5)$.
Slope $m=\frac{y_{2}-y_{1}}{x_{2}-x_{1}}=\frac{-5-(-1)}{0-5}=\frac{-4}{-5}=\frac{4}{5}$
Because the line crosses the y-axis at $(0,-5)$,
Y-intercept $b=-5$.
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=\frac{4}{5}x-5$