This is LaTeX code:
[latex]
P(x)=r^2\pi = (f(x))^2\pi = x\sin^2 x \pi
[/latex]