She practices for 40 minutes on Monday.
On Tuesday she practices for 5/8 of 40 minutes.
[tex]\frac{5}{8} \ of \ 40=\frac{5}{8} \times 40=5 \times \frac{40}{8}=5 \times 5=25[/tex]
On Tuesday she practices for 25 minutes.
On Wednesday she practices for 4/5 of 25 minutes.
[tex]\frac{4}{5} \ of \ 25=\frac{4}{5} \times 25=4 \times \frac{25}{5}=4 \times 5=20[/tex]
Hannah practices for A. 20 minutes on Wednesday.