Since the ratio is to be 3:1, then P is 3/4 of the way between A and B.
Compute x coordinate that is 3/4 of the way between 6 and -3:
(-3-6) * 3/4 + 6 = -6.75 + 6 = -0.25
Compute y coordinate that is 3/4 of the way between 1 and -2:
(-2-1) * 3/4 + 1 = -2.25 + 1 = -1.25
P(-0,.25,-1.25)