The question is:
Determine the ratio in which the line $3x + 4y - 9 = 0$ divides the line segment joining the points $A(1,3)$ and $B(2,7)$.
When I tried solving the question using section formula, which is: If $P$ divides the line segment $A(x,y) B(p,q)$ in ratio $m:n$, then coordinates of $P$ are given by $$\left\lbrace \frac{mp + nx}{m+n}, \frac{mq + ny}{m+n} \right\rbrace.$$
I got the answer : $(-6) : 25$
which I think is wrong and I'm not able to confirm it. If someone could show me their solution, I'll be really grateful.