(a)
Given equation is $\frac{dy}{dx} + y\tan{x = \sec x}$
Here, $P = \tan{x\ and\ Q = \sec x}$
$\therefore IF = e^{\int_{}^{}{p\ dx}} = e^{\int_{}^{}{\tan x}\ dx}$
$= e^{\log{\sec x}} = \sec x$
Hence, required solution is $y\sec{x = \int_{}^{}{\sec^{2}{x\ dx + c}}}$
$\Rightarrow y\sec{x = \tan{x + c}}$