I got a question in my homework which I can't solve. Here is the question: (I am not a native speaker so please explain step by step and clearly.)
Point $C$ internally divides the segment containing the endpoints $A(3,6)$ and $B(18,31)$ such that $3(AB)=5(AC)$. Find the coordinates of Point $C$.
Ans is $(12,21)$ but I don't know how to solve it.
