The coordinates of the points which divides the join of (−2,−2) and (−5,7) in the ratio 2:1 is:
Using the section formula, if a point (x,y) divides the line joining the points (x1,y1) and (x2,y2) in the ratio m:n, then (x,y)=(mx2+nx1m+n,my2+ny1m+n)
Substituting (x1,y1)=(−2,−2), (x2,y2)=(−5,7) and m=2,n=1 in the section formula, we get the point
(2(−5)+1(−2)2+1,2(7)+1(−2)2+1)=(−4,4)