31: You should get
The last operation in the second derivative is the exponential
composed with an inside function.
Apply the chain rule.
The last operation in the third derivative is the logarithm
composed with an inside function.
Apply the chain rule.