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.
When the ratio is unknown, take it as k:1 (that is, m1=k, m2=1). Then there is only one unknown, k, and one coordinate equation is enough to find it.
Step 1 — Name the points and the ratio. Take A(−3,10) as (x1,y1) and B(6,−8) as (x2,y2), so x1=−3, y1=10, x2=6, y2=−8. Let P(−1,6) divide AB in the ratio k:1.
Step 2 — Write the coordinates of P by the section formula.
P=(k+1k×6+1×(−3), k+1k×(−8)+1×10)=(k+16k−3, k+1−8k+10)
Step 3 — Equate the x-coordinate to −1 and solve for k.
k+16k−3=−1
6k−3=−(k+1)=−k−1
6k+k=−1+3
7k=2⇒k=72
Step 4 — Check with the y-coordinate. Put k=72:
72+1−8×72+10=72+77−716+770=79754=954=6 ✓
This matches the y-coordinate of P, so P really lies on AB.
Step 5 — Write the ratio.
k:1=72:1=2:7
Answer: the point (−1,6) divides the segment in the ratio 2:7 (internally).

P(−1, 6) lies between A and B; AP : PB is taken as k : 1 and k is found from the x-coordinate.
Note: k came out positive, which confirms that the division is internal (the point lies between A and B).