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