Let A's income be =4x
A's expenses, therefore =4x–50
Let B's income be =5x
B's expenses, therefore =5x–50
We know that the ratio of their expenses =7:9
Hence, (4x−50):(5x−50)=7:9
(Product of Extremes =Product of means)
36x−450=35x−350
Therefore, x=100.
A's income =4x=400 and B's income =5x=500.