Concept used — the section formula
If a point P(x,y) divides the line segment joining A(x1,y1) and B(x2,y2) internally in the ratio m1:m2 (that is, AP:PB=m1:m2), then
P(x,y)=(m1+m2m1x2+m2x1, m1+m2m1y2+m2y1)
Why it works: P lies m1+m2m1 of the way from A to B, so each coordinate of P is a weighted average of the end coordinates. Notice the cross-pairing: m1 multiplies the coordinates of the far end B, and m2 multiplies those of A.
Step 1 — Name the points and the ratio. Take A(−1,7) as (x1,y1) and B(4,−3) as (x2,y2), so x1=−1, y1=7, x2=4, y2=−3. The ratio is m1:m2=2:3, so m1=2 and m2=3. Let the required point be P(x,y).
Step 2 — Find the x-coordinate.
x=m1+m2m1x2+m2x1=2+32×4+3×(−1)
x=58−3=55=1
Step 3 — Find the y-coordinate.
y=m1+m2m1y2+m2y1=2+32×(−3)+3×7
y=5−6+21=515=3
Answer: the required point is (1, 3).

P splits AB so that AP is 2 parts and PB is 3 parts of the 5 equal parts of AB.
Note: a common slip is to pair m1 with x1. Check: P should be 52 of the way from A to B. The x-change from A to B is 4−(−1)=5, and −1+52×5=−1+2=1 ✓.