suppose you invest some money in an account at 6% compounded monthly, after four years you have $8000, how much interest did you earn

x(1.005)^48 = 8000

solve for x
subtract from 8000 to get the interest.