A college student earned $7000 during summer vacation working as a waiter in a popular restaurant. The student invested part of the money at and the rest at If the student received a total of $588 in interest at the end of the year, how much was invested at