find the coordinates of point p along the direct line at segment AB so that AB to PB is the given ratio
1. A(-2,7), B(-4,1); 3 to 1​