Equation of line joining and is
Now, point of intersection of lines and is
Now, let's suppose point divides the line segment joining and in
Then,
Therefore, the line joining and is divided by the line in ratio