Explanation:
The point that partitions the segment in a ratio of 3:1 is located at :
Y = -9 + [¾ × (7-(-9)]
= -9 + (¾ × 16)
= -9 + 12
= 3
the coordinates are (2, 3)
The point that partitions the segment in a ratio of 1:3 is located at :
X = 2 + [¼×(2-2)]
= 2 + (¼×0)
= 2+0
= 2
the coordinates are (2, -5)