The general solution of the differential equation x y dy=(xe^x x+e^x)dx is given by
A. \(\sin y={e}^{x}+c\log x\), where c is a constant of integration.
B. \(\sin y={e}^{x}\log x+c\), where c is a constant of integration.
C. \({e}^{x}\sin y=\log x+c\), where c is a constant of integration.
D. \(\sin y={ce}^{x}+\log x\), where c is a constant of integration.