Pierre inherited $506,000 from his uncle and decided to invest the money. He put part of the money in a money market account that earns 4.5% simple
Interest. The remaining money was invested in a stock that returned 5% in the first year and a mutual fund that lost 4% in the first year. He invested $10,000
more in the stock than in the mutual fund, and his net gain for 1 yr was $3060. Determine the amount invested in each account.