(2) If P is on AB, there is AP+PB= 10.
AP/PB=3/2, you can get AP=6 and BP=4 at the same time.
Q is on the AB extension line, and AQ/BQ=2/3. As you can see, q is outside the extension line of B.
Let bq = x.aq =10+x. Combining with AQ/BQ=2/3, we can get x=20.
Then PQ=PB+BQ=4+20=24.