Chang invested his savings in two investment funds. the $3000 that he invested in fund a returned a 2% profit. the amount that he invested in fund b returned a 7% profit. how much did he invest in fund b, if both funds together returned a 4% profit?