y = mx + b - it's the equation of a straight line. We need only two points to the plotting the graph of that function.
Select any two x values and calculate y values:
Look at the picture.
The solution of the system of equations is the intersection point of the line.