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 y−axis divides the line joining points A(−4,−6) and B(10,12) in ratio y:1
Then, as per section formula the coordinates of point which divides the line is 10y−4y+1,12y−6y+1
We know that coordinate at y−axis of point of x is zero
Then, 10y−4y+1=0
⇒10y−4=0
⇒10y=4
⇒y=104=52
Then, ratio is 25:1⇒2:5
Substitute the value of y in y− coordinates, we get
1225−625+1=24−302−5=−6−3=2
Then, coordinates of point which divides the line joining A and B is (0,2) and ratio 25.