P divides AB in the ratio 1 : 2 (AP : PB = 1 : 2). Equivalently, P is obtained by moving from A one-third of the way to B:
P=A+31(B−A)
Write B−A=(16−4,−2−7)=(12,−9).
Then P=(4+31(12)),(7+31(−9))
=(4+4,7−3)=(8,4).
Similarly, Q divides AB in the ratio 2 : 1 (AQ : QB = 2 : 1).
Move from A two-thirds of the way to B:
Q=A+32(B−A)=(4+32(12),7+32(−9))
=(4+8,7−6)=(12,1).
Midpoint-based verification (connecting with the previous problem):
Midpoint of PQ=28+12,24+1=(10,2.5).
Midpoint of AB=24+16,27+(−2)=(10,2.5).
These agree consistent with P, Q being equally spaced about the midpoint.
Length verification:
AP2=(8−4)2+(4−7)2=16+9=25,
so AP = 5.
PQ2=(12−8)2+(1−4)2=16+9=25,
so PQ = 5.
QB2=(16−12)2+(−2−1)2=16+9=25,
so QB = 5.
AP = PQ = QB, confirming the trisection.