Rehman invests his summer earnings of $3050. He invests past of the money at 8%/year, and the rest at 7.5%/year. After 1 year, these investments earn 242$ in simple interest. How much did he invest at each rate?