An investor invested a total of $2200 in two mutual funds. One earned 5% profit while the other earned a 3% profit. If the investor's total profit was $86, how much was invested in each mutual fund?