(b)
On putting, $x = \tan\theta\ \Rightarrow \ \ dx = sce^{2}\theta\ d\theta$, we get
$f(x) = \int_{}^{}\frac{\tan^{2}{\theta.\sec^{2}\theta}}{{\sec^{2}\theta}{(1 + \sec\theta)}}d\theta$
$= \int_{}^{}\frac{\sec^{2}{\theta - 1}}{1 + \sec\theta}d\theta = \int_{}^{}{(\sec\theta - 1)}d\theta$
$= \log{(\sec\theta + \tan\theta)} - \theta + c$
$\Rightarrow \ \ f(x) = \log{(\sqrt{1 + x^{2}} + x)} - \tan^{- 1}x + c$
At $x = 0,\ \ \ f(0) = \log{(1 + 0) - 0 + c\ \ \Rightarrow \ \ c = 0\ }$
$\therefore\ \ f(x) = \log{(\sqrt{1 + x^{2}} + x)} - \tan^{- 1}x$
At $x = 1,\ \ f(1) = \log{(1 + \sqrt{2})} - \frac{\pi}{4}$