Let x be amount invested in CDs. Then amount invested in bonds is (x+18715.65), according to the condition. The rest, (112886.19 - x - 18715) was invested in stocks. You annual interest equation is 0.05x + 0.059*(x+18715.65) + 0.086*((112886.19 - x - 18715) = 7149.17. Simplify and solve for x.