For entries 1st yr.
1) FDR A/c 5000 Dr
To Bank A/c 5000
2)FDR A/c Dr 400
To Interest recd. a/c 400
For entries 2nd yr.
FDR A/c Dr 432
To Interest recd.a/c 432
for 3rd yr.
FDR A/c Dr 467
To interest recd.a/c 467
Final entry for maturity will be
Bank A/c Dr 6299
To FDR A/c 6299