Walt made an extra $7000 last year from a part-time job. He invested part of the money at 8% and the rest at 9%. He made a total of $600 in interest. How much did he invest at each rate?