Both are correct..
it is unstable equilibrium...
force Fvector=yi +xj acts upon a particle of mass m
here how we can check that whether origin is unstable or stable equilibrium
-dU/dx = yi ... U = -xy
-dU/dy = xj ... U = -xy
therefore U = -xy
at origin it is 0 ... at some other point it can be positive or -ve .. therefore at origin it niether attains maxima or minima .. so it is in unstable eq .
It is easy.. just multiply.... them and you will get ydx+xdy=d(xy)