Firstly we know that each point is 6 away from the other in terms of x and in terms of y. Now we also know that for every 6, we will be one away from point B and five away from point A. We know this because the ratio is AB 5:1, meaning that the 5 is on the A side (they both come first).
So, we can just add 5 to each of the A value numbers to get point P.