an investor invested a total of $3,100 in two mutual funds. One fund earned a 8% profit where the other earned 5% profit. If the investor's total profit was $209, how much was invested in each mutual fund?