g(x, y) \rightarrow (x^2 + 1, y^2)\\
f(u, v) \rightarrow (u + v, u, v^2)