an investor invested a total of $1,100 in two mutal funds. One fund earned a 7% profit while the other earned a 3% profit. If the investor's total profit was $45, how much was invested in each mutal fund?