If y is a function of x and z = e^z, show that:

x (dy/dx) = (dy/dz) and
(x^2) (d2y/dx2) = (d2y/dz2) - (dy/dz)

I managed to work out the first part. But I don't know how to prove the second part. Can someone please show me how? Thanks!