Line Through Two Points
To find the equation of the line that passes through two points you first calculate the slope of the line by calculating the change in x over the change in y. Then, using the slope of the line, solve for the lines y-intercept using one of the two points. This gives the equation of the line in standard form:
The variable a represents the slope of the line. The variable b represents the y-intercept of the line, which is the point at which the line passes the y axis.