Which option correctly gives the coordinates of a point P that divides the line segment joining A(x1,y1) and B(x2,y2) internally in the ratio m:n?
(a) P(m+nmx1+nx2,m+nmy1+ny2)
(b) P(2x1+x2,2y1+y2)
(c) P(m+nmx2+nx1,m+nmy2+ny1)
(d) P(m−nmx2+nx1,m−nmy2+ny1)