Suppose that the coordinates of P are (x, y).
Since P divides the line segment joining the points A(2, 6) and B(3, 4) in the ratio 2 : 3, the coordinates of P are given by the formulae:
Here, m = 2, n = 3, x1 = 2, y1 = 6, x2 = 3 and y2 = 4
By putting the values in the above formulae, we will get the coordinates of P.
i.e., the coordinates of point P are (0,2).
The equation of the line that has a slope and passing through P is given below: