The first inversion was 36800 at 4.3% compounded anually. So it means that after two years she will have

So, after two years she got $40032.84, now as the interest rate changed, to get the future value after 5 years we proceed as follows

(A) The value of the fund after the change will be $54538.247
Now to find the compound interest earned we get the following

(B) The total compound interest earned was $17738