Simplify:
$$(x^2+6x+9)^{-\frac{1}{2}} \cdot (x+3)^2$$
The answer is $x+3$, but I don't understand how? There is no restriction, should it not be as follows?
$$\frac{1}{\sqrt{(x+3)^2}} \cdot (x+3)^2$$
$$\frac{1}{|x+3|} \cdot (x+3)^2$$
So shouldn't there be two answers,
$-(x+3)$ if $x \lt -3$ and $(x+3)$ if $x \ge -3$
How am I supposed to solve these problems? I am confused with the whole square root deal.
In order to remove confusion, I got two answers, but apparently there is only one?