A sum of $20,000 is invested in three mutual funds. in one year the first fund grew by 5%, the second by 7%, and the third by 10%. total earnings for the year were $1650. the amount invested in the third fund was four times the amount invested in the first fund. find the amount invested in each fund.