Lily took out a 5-year loan from the bank for $31,000 to purchase a new car. At the end of the loan, she had paid a total of $37,975. Find the interest rate on the loan.