The income of a and b are retio 3:2and their expenditure are in the ratio 5:3 if each saves rs 2000 what is their income

3x-5y = 2000

2x-3y = 2000
x=4000
y=2000

So,
A makes 12000 and spends 10000
B makes 8000 and spends 6000