\frac{\partial \phi}{\partial y} =
xy^{xy} + e^{xy} + g'(y) =
(1 + xy)e^{xy} + g'(y)