This is LaTeX code:

[latex]
\int_{0}^{\pi/2}xf(\sin x)dx +\int_{\pi/2}^{\pi}xf(\sin x)dx
[/latex]