theodore invests a total of $18,500 in two accounts. the first account earned a rate of return of 14% (after a year). however, the second account suffered a 7% loss in the same time period. at the end of one year, the total amount of money gained was $490.00. how much was invested into each account?