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