Your function is , which is a COMPOSITION of functions. So to differentiate this you will need to use the chain rule.

You have done the outer derivative correctly, but you have forgotten that you also need to find the inner derivative, which is . Multiply this with the result you got.