5,679 is invested, part at 12% and the rest at 7%. If the interest earned from the amount invested at 12% exceeds the interest earned from the amount invested at 7% by $407.50, how much is invested at each rate? (Round to two decimal places if necessary.)