For this case we have that by definition, the equation of the line in the slope-intersection form is given by:
Where:
m: It's the slope
b: It is the cut-off point with the y axis
According to the figure, the line goes through the following points:
We found the slope:
Thus, the equation is of the form:
We substitute a point and find "b":
Finally, the equation is: