You deposit $1000 in a savings account that earns 5% annual interest compounded yearly.
a. Write an exponential equation to determine when the balance of the account will be $1500
b. Solve the equation.