After 2 years, $300 deposited in a savings account with simple interest had earned $24 in
interest. What was the interest rate?
Use the formula i = prt, where i is the interest earned, p is the principal (starting amount), r
is the interest rate expressed as a decimal, and t is the time in years.