John spent 1/8of her salary on transport and 1/4 on food.if she remained with sh 80000 what her salary

her salary ---- x

(1/8)x + (1/4)x + 80000 = x
times 8
x + 2x + 640000 = 8x
640000 = 5x
x = ......