This is LaTeX code:

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