Let $w=f(x,y)$ be a function of two variables, and let $x=g(s,t), y=h(s,t)$. Find $\frac{\partial^2w}{\partial t \partial s}$ and $\frac{\partial^2w}{\partial s^2}$.