(d)
Given, $\int_{}^{}e^{x}(1 + x).\sec^{2}{(xe^{x})}dx = f(x) + constant$
Put $xe^{x} = t \Rightarrow \left( e^{x} + xe^{x} \right)dx = dt$ in LHS, we get
LHS = $\int_{}^{}{\sec^{2}t}\ dt$
$= \tan t +$ constant
$\Rightarrow \tan{(xe^{x})} + constant = f(x) + constant$
$\Rightarrow f(x) = \tan{(xe^{x})}$