pls help, answer question below. or just explain to me

Given the points A(-1,2) and B(7,14), find the coordinates of the point P on directed line segment from A to B and partitions the segment in the ratio 1:3