Finding a Potential for a field

So im trying to find the potential for the following gradient

I've gotten a bunch of different answers, but none of them have been right

Ive tried the method of integrating one component with its respective variable, (as in intergrating 2xy+3 with respect to x) and then taking the partial with respect to another variable and setting it equal to another term in the gradient, eventually solving for the new functions g(y,z) then h(z).

my answer has been

which then gives you back your gradient

the online software is telling me this is wrong, and im not sure if im just punching it in wrong or if im doing it wrong

thanks guys