Concept: When y is given implicitly by an equation in x and y, we differentiate both sides with respect to x, treating y as a function of x. By the chain rule, a term in y picks up a factor dxdy: for example dxd(y2)=2ydxdy. A term such as xy needs the product rule, dxd(xy)=xdxdy+y. Finally we collect all the dxdy terms on one side and solve for dxdy. We also use dxdx=2x1.
Step 1 — Differentiate both sides with respect to x.
The term x gives 2x1. The term y gives 2y1dxdy by the chain rule. The right side a is a constant, so its derivative is 0.