From the graph, we observe that,
The y-intercept is 7.
Next to find the slope:
Take points are (0,7) and (2,2).
Using the slope formula,
Hence, the slope is
Then, the equation of the line can be obtained by using the formula is,
Hence, the equation of the line is,