This is LaTeX code:

[latex]
p(p(x)) = p\left(\frac{1}{2x^2}\right) = \frac{1}{2\left(\frac{1}{2x^2}\right)^2} = 2x^4
[/latex]