
Let the point P(-3, p) divides the line segment joining the points A(-5, -4) and B(-2, 3) internally in the ratio m1 : m2.
Hence, x co-ordinate of point P(-3, p)

= -3(m1 + m2) = -2m1 – 5m2
⇒ -3m1 – 3m2 = -2m1 – 5m2
⇒ -3m1 + 2m1 = -5m2 + 3m2
⇒ – m1 = -2m2
⇒ m1/m2 = -2/-1 = 2/1
Hence required ratio m1 : m2 = 2 : 1
Now, y co-ordinate of point P(-3, p)

Hence, required ratio 2 : 1 and p = 2/3