The equation of the graph is in the form of y =mx + c
where m = slope
and
c = y - intercept
from the graph the y - intercept is 5
so c = 5
The equation now becomes y = mx +5 after substitution but this not the required equation yet. We still need to find m
To find m we pick two points having coordinates of x and y and substitute them into the formular for the slope m
Equation of the line now finally becomes y = -3x + 5