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