Ali invests $14 800 in an account that earns interest compounded semi-annually for 3 years. She then takes all the money, which amounts to $17 063.24, and invests it in an account that earns interest compounded quarterly for 2 years. After the 5 years, the account is worth $18 846.11. What annual interest Ali earning on each of the accounts? Explain your answer.