## Calculus (3rd Edition)

$$f(x,y)=x^2y+C$$
Take $$f(x,y)=x^2y+C.$$ Taking the partial derivatives, we get the desired result: $$f_x=2xy, \quad f_y =x^2.$$