here is the question

Harry and Potter both would want to have RM 5000, each, to buy a motorcycle. Harry makes a deposit of RM 750 at an interest rate of 4% compounded monthly. If the time taken by both is the same, calculate the annual interest rate charged to Potter if he deposited RM 450 compounded quarterly.

please answer it thanks!