How to work out compound interest using a formula - GCSE maths