The graph is a linear graph
The equation of a linear graph is given in the form

where

is the gradient and

is the y-intercept
To find gradient:
Choose any two coordinates that lie on the line.
We choose (4,7) and (0, 10)


the graph crosses the y-axis at 10, so the value of

Forming the equation

Answer: D