Let the line x − y − 2 = 0 divide the line segment joining the points A(3, −1) and B(8, 9) in the ratio k : 1 at P.
Then, the coordinates of P are
Since, P lies on the line x − y − 2 = 0, we have:
So, the required ratio is : 1, which is equal to 2 : 3.