Please don't use "x" both for a variable and as a multiplication sign! Use "*" or, better, use LaTex.

I think you mean that

which also says that

Those two together tell us that

It isn't clear whether w is independent of y or not. Assuming it is, we can differentiate both sides with respect to y to get

Solve that algebraically for u.