Before to contemplate a derivative, try to do a make-up first:

So from here first and second derivative are practically done.

Now it remains to do the algebra make-up:

(Observe that we've applied the Chain Rule always, it's just that in this case is pretty trivial, since )