Your first derivative is right!
for the second just differentiate your expression for the first derivative again, you used the chain rule for the first I'm guessing so just use it again.
For the second one rewrite it as
then use the chain rule
Then use the quotient rule on this to get the second derivative