The formula for Final Amount, A after compounding for n period of times is given by
[tex]A=p(1+\frac{r}{100})^n[/tex]Where A = amount
p= principal
r = rate (in %)
n = number of compounding periods
From the question.
A=21,000, p = ?, r=6, n = 3 x 2 = 6
[tex]\begin{gathered} 21000=p(1+\frac{6}{100})6 \\ \\ 21000=p(1+0.06)^6 \\ 21000=p(1.06)6 \\ 21000=p(1.41852) \\ 21000=1.41852p \\ p=\frac{21000}{1.41852} \\ p=14,804.17 \end{gathered}[/tex]The amount that must be deposited at the beginning is 14,804.17