Nancy found that [tex]$x=1[tex]$[/tex] is one solution to the quadratic equation [tex]$[/tex](x+2)^2=a$[/tex]. What is the value of [tex]a[/tex]?

A. [tex]-9[/tex]
B. [tex]-3[/tex]
C. [tex]3[/tex]
D. [tex]9[/tex]