Li-ming received a statement on her Certificate of Deposit showing that her investment had returned $2,240 over its life. If the Certificate of Deposit pays a simple interest rate of 3.2% and her initial investment was $20,000, how long had the money been invested?