\(f(x,y) = (x+y)exp(x^2-y)\)

By differentiating f WRT x i obtained the answer:

\(\frac{df}{dx} = exp(x^2-y)[2x^2+2xy+1] = 0\) (1)

and differentiating f WRT y I got:

\(\frac{df}{dy} = exp(x^2-y)[1-x-y]\) (2)

I could be wrong with my answer because I am now stuck because I always have one equation that is a function of two variables (x and y). However, I have tried three times and arrive at the same solution for both. Please help!

Thanks!!