The equation of a line that passes through two points

and

is given by

Give a line that passes through the points (6, 10) and (12, 7), the equation of the line is obtained as follows:

The equation of a line in slope intercept form is given by

where: m is the slope and c is the y-intercept.
Comparing this with the obtained equation of the line that passes through the points (6, 10) and (12, 7), we notice that the line has a slope of

and a y-intercept of 13.