Milly borrowed $9,000 for 10 years to build a shed. If she repaid a total of $19,800, at what interest rate did she borrow the money?