Answer
$y=\dfrac{c(x-1)}{x}$
Work Step by Step
In order to to solve the given differential equation we will have to separate the variables and then integrate.
Here, we have
$\int \dfrac{dy}{y}=\int \dfrac{dx}{x(x-1)}$
or, $\ln |y|=\ln (x-1)-\ln |x|+\ln c$
Then, we have $\ln |y|=\ln \dfrac{c(x-1)}{x}$
Hence, $y=\dfrac{c(x-1)}{x}$