PLEASE HELP ASAP!!! FULL ANSWER PLEASE!!! NO SCAMS!!!

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 %