You need the power rule AND the chain rule...

Let = f(x) and

Then, (this is just the chain rule)

So in your case, you take the derivative of f correctly, but never multiply by the derivative of g

Also, that isn't inside the square root, so you can't multiply by under the radical