The formula is
A=p (1+r)^t
A the amount ones she retires ?
P amount invested 5000
R interest rate 0.05
T time 20 years
A=5,000×(1+0.05)^(20)
A=13,266.49
I don’t understand the equation but you can use Photomath to solve any equation you need to solve. It’s and app for free.