TJ invested $8000 in a bond at a yearly rate of 4% simple interest. He earned $1120
in interest. How long was the money invested?