Find the coordinates of point P along the directed line segment AB so that AP to PB is the given ratio.
A(-1, 10), B (7, 14); 3 to 1
The coordinates of P are