The formula for Final Amount, A after compounding for n period of times is given by
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
The amount that must be deposited at the beginning is 14,804.17