a total of 6000 is invested: part 8% and the remainder at 12%. how much is invested at each rate if the annual interest is 540