I apologize for such a very easy question, but I'm really rusty. Is this very simple derivative correct?
$$ \frac{{\rm d} }{{\rm d}x} 2^{(x+1)^2} = 2^{(x+1)^2}\ln(2)$$
Or would it be like this:
$$ \frac{{\rm d} }{{\rm d}x} 2^{(x+1)^2} = 2(x+1) \cdot 2^{(x+1)^2} \cdot \ln(2)$$
I am using this nice pdf to remember the rules, but I am not sure about this case. Thank you!