Any straight line on the coordinate plane can be described by the equation
y=mx+b
Where:
x,y are the coordinates of any point on the line
m is the slope of the line
b is the intercept (where the line crosses the y-axis) .
The slope m can be found beetween two points:

m and one of the known points is inserted in the equation y=mx+b
⇒
⇒
⇒

Then the equation is:
y = mx + b ⇒
