Each part can be done separately, so x^2 becomes 2x, xy becomes dy/dx + y by product rule, y^2 becomes 2y(dy/dx) by chain rule, and 1 becomes 0. Hence the answer is 2x + y + (2y+1)dy/dx = 0, but the answer is commonly given in the form dy/dx = -(2x+y)/(2y+1)