If a linear function f satisfies f(1) = 1 and f(7) = 6, find f(x).
y = x + 1 y = x − 1
Solve the equation .