If $z = f(x, y)$ and we know that $f$ has second derivative and that $y = r\cos\theta$, $x = r\sin\theta$ then calculate: $$\frac{∂^2z}{∂r^2}$$
I myself have basically written that: $$∂\frac{\frac{∂z}{∂x}cos(θ)+\frac{∂z}{∂y}sin(θ)}{∂r}$$ Don't know what do next.