An investor invested a total of $2,800 in two mutual funds. One fund earned a 9% profit while the other earned a 4% profit. If the investor's total profit was 5197 how much was invested in each mutual fund?
The amount invested in the mutual fund that earned 9% was $