You wish to invest $800 over one year in two accounts paying 5% and 6% annually. How much should you invest in each to earn $43?

Answer: in the 5% account and in the 6% account.

amount at 5% --- x

amount at 6% --- 800-x

solve for x

.05x + .06(800-x) = 43