If the interest paid was $1428 on a principal of $5100 and an interest rate of 4%, how many years was the loan for?