(b)
Given, $\frac{dy}{dx} - y\tan x = e^{x}\sec x$
$\therefore$ $IF = e^{- \int_{}^{}{\tan x\ dx}} = e^{- \log{\sec x}} = \frac{1}{\sec x}$
$\therefore$ Complete solution is
$\Rightarrow$ $y.\frac{1}{\sec x} = \int_{}^{}e^{x}\sec x.\frac{1}{\sec x}\ dx$
$\Rightarrow \$ $\frac{y}{\sec x} = e^{x} + c$
$\Rightarrow$ $y\cos x = e^{x} + c$