The given points are A (1,6) and B(5, -2).
Then, P (x, y) is a point that devices the line AB in the ratio 1: 3
By the section formula:
Let R (x, y) be a point that divides AB in the ratio 3 :1
Then, by the section formula:
Hence, the coordinates of point P, Q and R are (2, 4), (3, 2) and (4, 0) respectively.