Let x = amount invested in stocks
10000 - x = amount invested in bonds
Interest on bonds = (Interest on stocks) - 40
So, 0.08(10000 - x) = 0.06x - 40
800 - 0.08x = 0.06x - 40
800 = 0.14x - 40
840 = 0.14x
6000 = x
Answer: INVEST $6000 IN STOCKS AND $4000 IN BONDS.