After 2 years, $8,000 deposited in a savings account with simple interest had earned $800 in interest. What was the interest rate?