(b)
Let $I = \int_{0}^{\pi}{x\ f(\sin{x)dx}}$
$\Rightarrow I = \int_{0}^{\pi}{(\pi - x)f\{\sin{(\pi - x)}\} dx}$
$= \pi\int_{0}^{\pi}{f(\sin{x)dx - x\int_{0}^{\pi}{f(\sin{x)dx}}}}$
$\Rightarrow I = \pi\int_{0}^{\pi}{f(\sin{x)dx - I}}$
$\Rightarrow 2I = 2\pi\int_{0}^{\pi/2}{f(\sin{x)dx}}$
$\Rightarrow I = \pi\int_{0}^{\pi/2}{f(\sin{x)dx}}$