Sally's $8,900 savings is in two accounts. One account earns 3% annual interest and the other earns 8%. Her total interest for the year is $532. How much does she have in each account?

If she has $x at 3%, then the rest (8900-x) is at 8%. So,

.03x + .08(8900-x) = 532
Now finish it off