The formula for compound interest is given by:

where ,
A= Amount,
P=Principal
r=rate of interest
n= number of times interest is compounded per year
t = time ( in years)
Plugging the values ,
P = $12,000
r=0.06
t=6 years
n=1(annually compounded)
Plugging these in the formula,

A =$17022.229 which is approximately 17022.23
Answer: Amount is option B. $17022.23