A total of $7000 is invested: part at 7 % and the remainder at 15 %. How much is invested at each rate if the annual interest is $510?