An investor invested a total of $1,300 in two mutual funds. One fund earned a 9% profit while the other earned a 2% profit. If the investors total profit was $103, how much was invested in each mutual fund