Let be the ratio in which the point divides the line joining the points
and
Therefore, the required ratio is .