we must use this formula
[tex]C=c(1+t)^n[/tex]Where C is the total, c the initial capital, t the percent and n the number of years
so replacing
[tex]C=20000(1+0.045)^5[/tex]and solving
[tex]\begin{gathered} C=20000(1.246) \\ C=24923.64 \end{gathered}[/tex]the account balance at 5 years is $24,923.64