Thank you for the opportunity to help you with your question!
compound interest is calculated using the formula A=C(1+i)^n where A is the amount at the end of the investment period, C is the principal amount, n the number of years and i is the interest rate compounded annually.
in this case, A=25,000
substituting the values in the formula,
divide both sides by 10,000
Getting the eighteenth root of both sides, we get,
Subtract 1 from both sides,
Multiply by 100%
Please let me know if you need any clarification. I'm always happy to answer your questions.