Jim invested $4,000 in a bond at a yearly rate of 4.5%. He earned $540 in interest. Howlong was the money invested? (just type the number don't write years)