To find the total amount, you will use the formula for finding compounded interest. This means you will be paid interest on top of the interest you have earned each year.
A = P(1 + r)^nt P stands for the principal. r is the interest rate when compounded annually nt is the number of years