\phi(x, y, z) =\\
(y + 2)lnz + g(x, y) =\\
(y + 2)lnz + 2xy + h(y)