Given $f(x,y)$, a two real variable polynomial such that $\frac{\partial f(x,y)}{\partial x}$ and $\frac{\partial f(x,y)}{\partial y}$ are divisible by $x^2+y^2-1$. Prove that there exist a polynomial $g(x,y)$ and a constant $c$ such that: $$f(x,y)= g(x,y){(x^2+y^2-1)}^2+c$$
That is the problem I'm currently trying to solve. I first tried to write de derivatives in the form $P(x,y)* ({x^2+y^2-1})$ with $P(x,y)$ being a polynomial. Then tried to write both $P$ and ${x^2+y^2-1}$ as derivatives of a function (one at a time) to perform integrarion by parts, but it led me nowhere.
Any ideas in how to solve it? If it's possible to just give me a hint in how to start and not the whole solution I'd appreciate it very much