Answer
$y=\dfrac{c(x-1)}{x}$
Work Step by Step
Need to separate the variables to determine the differential equation and then integrate the obtained equation on the both sides.
$\int \dfrac{1}{y}dy=\int \dfrac{1}{x(x-1)} dx$
This implies that
$\ln |y|=\ln (x-1)-\ln |x|+\ln c$
or, $\ln |y|=\ln [\dfrac{c(x-1)}{x}]$
so, $y=\dfrac{c(x-1)}{x}$