general solution of differential equation (x-y)dy/dx = x+2y code example Example: solve the differential equation xdx + y(x-1)dy=0 dx + y(x-1)dy=0