I'm guessing the second derivative is for y with respect to x, i.e.

Compute the first derivative. By the chain rule,

We have


and so

Now compute the second derivative. Notice that
is a function of
; so denote it by
. Then

By the chain rule,

We have

and so the second derivative is
