By the chain rule,

Here, it is easy to see that and so .

Similarly,

You find the second derivatives by using those in succession:

.

and finally

Of course, since and , adding those equations, and so . Use that on the right hand side of the equation.