All your derivatives are partial derivatives, and your formula for dw/dx is completely wrong.

is just itself; you can't do much with it without knowing more about f(x, y). What I think you want is the partial of w with respect to u, and possibly the partial of w with respect to v. From these you can get the second partials.
Here's the formula for the chain rule in Leibniz notation for your problem:
This formula can be simplified, since
and

is calculated in a similar manner as was used for the partial of w with respect to u, by replacing u everywhere it appears in the formula above with v.