(a)
Given equation can be rewritten as
$\frac{dy}{dx} - \frac{1}{x}.y = 1$
$\therefore$ $IF = e^{- \int_{}^{}{\frac{1}{x}dx}} = e^{- \log x} = \frac{1}{x}$
$\therefore$ Required solution is
$y\left( \frac{1}{x} \right) = \int_{}^{}\frac{1}{x}\ dx = \log x + c$
Since, $y(1) = 1$
$\Rightarrow$ $c = 1$
$\therefore$ $y = x\log x + x$