solve the differential equation xdy+2ydx=dx code example Example: solve the differential equation xdx + y(x-1)dy=0 dx + y(x-1)dy=0