To find the compound interest over a certain period of time we need to apply the following expression:

Where M is the final value, P is the principal, r is the interest rate divided by 100 and t is the elapsed time in years. Applying the data from the problem gives us:

The interest on over the course of these years were:
