g(x, y, z) \rightarrow
(x^2y, y^2, e^{-xz})\\
f(u, v, w) \rightarrow
(u^2 + v^2 - w)