If x dyd x=y( y- x+1) , then the solution of the equation is
A. \(\log \frac{x}{\mathrm{y}}=\mathrm{cy}\) , where c is the constant of integration
B. \(\log \frac{\mathrm{y}}{x}=\mathrm{cy}\) , where c is the constant of integration
C. \(\log \frac{x}{\mathrm{y}}=\mathrm{c} x\) , where c is the constant of integration
D. \(\log \frac{\mathrm{y}}{x}=\mathrm{c} x\) , where c is the constant of integration