Walt made and extra $9,000 last year from a part-time job. He invested part of money at a 9% annual rate of interest, and the rest at an 8% annual rate of interest. At the end of the year, he made a total of $770 in interest. How much was invested at 8%.