Compound interest formula:

A is the final amount
P is the principal amount
r is the interest rate (in decimals)
n is the number of times interest is compound
t is the time in years
For the given situation:

Then, the balance after 7 years is $7,094.53