The solution of the differential equation \[ (x-1)\frac{dx}{dy}+(y-2)=0, \] given that \(x=1\) when \(y=1\), represents a: