Sally invested a total of $4500, some at 9% per year and the rest at 6% per year. The return from the 9% investment exceeds that from the 6% investment by $180. How much did she invest at each rate?