Here, A≡(−2,6)=(x1,y1)
B≡(3,−4)=(x2,y2)
P divides segAB internally in the ratio 2:3
∴m:n=2:3
Let P≡(x,y)
We have,
x=mx2+nx1m+n=2(3)+3(−2)2+3=05=0
and y=my2+ny1m+n=2(−4)+3(6)2+3=105=2
∴P≡(0,2)
Now, the equation of the line having slope 32 and passing through P(0,2) is
y−2=32(x−0)
i.e. 2y−4=3x
3x−2y+4=0
Thus, the equation of the required line is
3x−2y+4=0.