$240 interest is earned on a principal of $1500 at a simple interest rate of 4% interest per year. For how many years was the principal invested?​