As given plane x+y−z=21 divides the line joining the points A(2,1,5) and B(3,4,3) at a point C in the ratio k:1.
Then coordinates of C (k+13k+2,k+14k+1,k+13k+5)
Point C lies on the plane, ⇒ Coordinates of C must satisfy the equation of plane.
So, (k+13k+2)+(k+14k+1)−(k+13k+5)=21 ⇒3k+2+4k+1−3k−5=21(k+1) ⇒4k−2=21(k+1) ⇒8k−4=k+1 ⇒7k=5 ⇒k=75
Ratio is 5:7.