Mr. Vedra deposited $1,200 in a certificate of deposit (CD) at an interest rate of 5.5%. He earned $198 in simple interest. How long was the CD for?