Let the monthly income of A and B are ₹x and ₹y respectively.
Then as per the question
Since each save ₹9,000, so
Expenditure of A = ₹
Expenditure of B = ₹
The ratio of expenditures of A and B are in the ratio 7 : 5.
From (i), substitute in (ii) to get
Now, putting x = 30000, we get
Hence, the monthly incomes of A and B are ₹30,000 and ₹24,000.