Diane borrowed $500 from a lender that charged simple interest at an annual rate 6%. When Diane paid off the loan, she paid $90 in interest. How long was the loan for, in years?