$f(x,y)=x^3y^2$ the goal is the Legendre-transformed function: $g(x,u)=uy-f(x,y)$ where $u=\frac{∂ f}{∂ x}$ and $v=u=\frac{∂ f}{∂ y}$ where g(x,u) isn't explicitly dependent on y.
I derived $u=x^3y^2$. I heard that one now needs to reshape the equation to $y=\sqrt{(\frac{u}{3x^2})}$, but after that step I am not sure which variables are variables in the function $g(x,u)=uy-f(x,y)$ and which variables are "constants" and I am confused, why I need to reshape everything into the form y=... I thought I could just plug this into the equation and that's it.
I would be grateful for any advice!