(1) is exact because Mdx + Ndy = 0 has dM/dy = dN/dx There is a solution of form Ψ(x,y) = C
Integrate Mdx and get Ψ = x4/4 + x2y2/2 +xy + c(y). Take the derivative wrt y and you get
x2y +x +c'(y) = N or c'(y) = y3 so c(y) = y4/4 + C
Ψ(x,y) = x4/4 + x2y2/2 +xy + y4/4 = C
2) I cannot solve this by inspection. I used symbolab for the solution. It was not obvious.