Thomas invested $8,500 for one year. Part of the money was invested at6% and the rest at 9%. The total interest earned was $667.50. How much did Thomas invest at the 6% rate?