Answer :

swalley2004
(x-y)dx+xdy=0 = (x-y)dx=-xdy = (x-y)=-x*dy/dx = -(x-y)/x=dy/dx.



I'm not sure what you are solving for, but you can use this to solve from here.