Step-by-step explanation:
Determine points
We can use f (5) = 7 and f (-2) = 0 to write two points.
(5 , 7) & (-2 , 0)
Find Slope
Slope = (y₂ - y₁) ÷ (x₂ - x₁)
= (7 - 0) ÷ (5 - (-2))
= 1
Write the equation
equation in point-slope form (y - y₁) = m (x - x₁)
(y - 0) = 1 (x - (-2))
y = x + 2