a bank loaned out $18,000 part of it at the rate of 7% per year and the rest at 15% per year. if the interest received in one year totaled $2000, how much was loaned a 7%