Samantha received a loan from the bank for $4,500. She plans on paying off the loan in 4 years. At the end of 4 years, Samantha will have paid $900 in interest. What was the interest rate on the loan?