You invested $20,000 in two accounts paying 5% and 6% annual interest, respectively. If the total interest earned for the year was $1080, how much was invested at each rate?

You invested 20000 in two accounts paying 5 and 6 annual interest respectively If the total interest earned for the year was 1080 how much was invested at each class=