Given:
Consider the two points are A(1,1) and B(0,5).
To find:
The equation of the line AB.
Solution:
If a line passes through the two points, then the equation of the line is:

We A(1,1) and B(0,5). So, the equation of line AB is:




Add 1 on both sides, we get


Therefore, the equation of the line AB is
.