you'll need to know the compound interest formula in order to solve this problem.
the formula is written as such :

a is the amount
p is the principal (the amount you start with
r is the interest rate (make sure to write as a decimal)
n is the amount of time interest is compounded
t is time (years)