Please help with this question.

Answer:
Coordinate of Q (3,4)
Step-by-step explanation:
Let to points S(-2,-6) and T(5,8)
Le Q(x,y) be the point in which it divide the ST in the ratio 5:2
If a point (x,y)cut the line in the ratio a : b where the end coordinate are( x1,y1) and (x2,y2)
x = x1 + p/w(x2 - x1) and y = y1 + p/w(y2 - y1)
where p = a and w = a+b
To find the coordinate of Q
x = x1 + p/w(x2 - x1 )
x = -2 + 5/7(5 - -2) = -2 + 5=3
y = y1 + p/w(y2 - y1)
y = -6 + 5/7(8 - -6) = -6 + 10 = 4
Therefore the coordinate of Q is (3,4)