Let the line 4x + y = 4 intersects AB at P(x1, y1) such that AP: PB=k:1
x1= 3k−2/k+1 and y1= 5k−1/k+1
(x1, y1) lies on 4x + y = 4
Therefore, 4(3k−2/k+1)+(5k−1/k+1) = 4
⇒ k = 1
The required ratio is 1:1