The formula for compound interest is
Annual Compound Interest Formula: $$A = P\left(1+\frac{r}{n}\right)^{nt}$$
Here year is a whole number. So how can I calculate compound interest on 40,000 for 2.5 years at 10% p.a. Interest is compounded annually.
HINT So what are the values of $P, r, n, t$ in your formula? Comment answer or update question and I will be happy to give more hints