Given:
A line passes through the points (2,-1) and (1,-5).
To find:
The equation of the line.
Solution:
If a line passes through the two points, then the equation of the line is

The line passes through the points (2,-1) and (1,-5). So, the equation of the line is




Using distributive property, we get


Subtract 1 from both sides.


Therefore, the correct option is B.