For this case we have that by definition, the equation of a line in the slope-intersection form is given by:
Where:
m: Is the slope
b: Is the cut-off point with the y axis
According to the data of the statement we have to:

Then, the equation is of the form:

We substitute the point
and find "b":

Thus, the equation is of the form:

To graph we substitute the points on the coordinate axis:

For
:

For
:

Answer:

See attached image