A mother wants to invest $6000 for her children's education. She invests a portion of the money in a bank certificate of deposit
(CD account) which earns 4% and the remainder in a savings bond that earns 7%. If the total interest earned after one year is $360, how much money was invested at each rate?