ANSWER

Step-by-step explanation
The equation of the line connecting (3,-1) and (8,9) is

The given line segment also have equation

Or

Adding equation (2) and (1) gives,


We substitute x=5 into equation (2) to get,


This means that the point of intersection is (5,3)
Let this point divide the line segment joining (3, -1) and (8, 9) in the ratio
m:n
Then,

This implies that,



m:n=3:2