$1000 is invested at an APR of 5% for 20 years
It would be $1000 x 0.5 interest, then you should have 500 and multiply it by 20 years, which would be 10,000