problem 980
The coordinates of the point \(P(x, y)\) which divides the line segment joining the points \(A(x_1, y_1)\) and \(B(x_2, y_2)\) internally in the ratio \(m_1 : m_2\) are \(\left(\frac{m_1 x_2 + m_2 x_1}{m_1 + m_2}, \frac{m_1 y_2 + m_2 y_1}{m_1 + m_2}\right)\).