For the first year
P=Rs18,000
N=1year
R=5 %
We have S.I.=PNR100=18,000×1×5100=Rs900
And Amount at the end of first year P+S.I.=Rs18,000+Rs900=Rs18,900
Now, for the second year
P=Rs18,900−Rs6,000=Rs12,900
N=1year
R=5 %
We have S.I.=PNR100=12,900×1×5100=Rs645
And Amount at the end of second year P+S.I.=Rs12,900+Rs645=Rs13,545
Also, for the third year
P=Rs13,545−Rs8,000=Rs5,545
N=1year
R=5 %
We have S.I.=PNR100=5,545×1×5100=Rs277.25
And Amount at the end of third year P+S.I.=Rs5,545+Rs277.25=Rs5,822.25
Thus, at the end of the third year, amount to be
paid =Rs5,822.25 or approximately Rs5,822