Express $\partial f/\partial x$ and $\partial f/\partial y$ in terms of $\partial f/\partial r$ and $\partial f/\partial \theta$, and vice versa.
Can I resubstitute polar coordinates after differentiation?