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