You can put this solution on YOUR website!
Choose two points at random, and
Find for each case.
Plot these two points. ->(0,5)
.
.
. -> (2,-1)
Plot these two points.
.
.
.
Draw the line between them.
.
.
.
Now use the same method for the second problem.