Suppose you have $12,000 to invest. If part is invested at 10% and the rest at 15%, how much should be invested at each rate to yield 12% on the total amount invested?