The implicit differentiation of xy is
dy/dx(xy)=xy'+x'y
=xy'+y