WE know that

where A is the future value including interest, P is the the initial deposit, r is the annual interest rate and t is the time. Then in our case

Then after three years we have 309.1. Substracting the initial deposit, we see that we earned 9.1 dollars.