The equation of a line has always the form

where "m" is called its slope, and "b" is called its y-intercept. It's a well-known fact that m can be calculated using two points of the line. Let's use A and B:

Then, our equation becomes

Replacing A there, we get

Having found m and b, the final answer is
