Respuesta :

Start with

y = mx + b

Now use the 2 given points to find m and b.

7 = m(0) + b
b = 7
1 = m(3) + 7
m = -2

f(x) = -2x + 7