PLEASE HELP ASAP!!! SHOW STEPS PLEASE!!!!

Santiago invests $10000 in two different accounts. The first account paid 8 %, the second account paid 12 % in interest. At the end of the first year he had earned $992 in interest. How much was in each account?

$ ____________ at 8 %

$ ____________ at 12 %