Section formula or Ratio formula to find the coordinates of a point P which divides the segment internally or externally in the ratio m : n.
For example, when m : n = 2 : 1, x1 = 2, y1 = 3 and x2 = 4, y2 = 5 (internally)
Apply them into formula
(mx2+nx1/m+n , my2+ny1/m+n) (2*4+1*2/2+1 , 2*5+1*3/2+1) (3.3 , 4.3)