The ratio in which the line segment joining (3,4) and (−2,1) is divided by the y-axis 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)
Let the ratio be k:1 now using section formula, we have: