Slope -intercept form:
y=mx+b
Where:
m= slope
b= y-intercept. (where the line crosses the y-axis)
By looking at the graph we can see that the line crosses the y- axis at y=3.
So, the y-intercept is:
b= 3
For the slope we have to apply the formula:
Use the points form the graph:
Point 1 = (x1,y2) = (1,2)
Point 2 = (x2,y2)= (4,-1)
So, the final equation:
y= -x+3