Money deposited=$500
Money double after 3 years
So, after 3 years amount will be,
[tex]\begin{gathered} A=2\times500 \\ =1000 \end{gathered}[/tex]for 15 years,
[tex]\frac{15}{3}=5[/tex]i.e. the amount will increse 5 times in 15 years.
The total amount after 15 years will be,
[tex]\begin{gathered} A=1000+1000+1000+1000+1000 \\ =5000 \end{gathered}[/tex]