Mr. Wilson invested money in two accounts. His total investment was $20,000. If one account pays 3% in interest and the other pays 6% in interest, how much does he have in each account if he earned a total of $960 in interest in 1 year?

He invested $__ in the 3% account and $__ in the 6% account.