if P(xp,yp) divides a line segment from A(x1,y1) to B(x2,y2) in the ratio 2/3, then:
Since we only need to find the x coordinate:
9.4m questions
12.2m answers