This is LaTeX code:

[latex]
(f\circ g) (x)=f(g(x))=f(\frac{1}{2}\arccos{x})=cos{\left(2\cdot\frac{1}{2}\arccos{x}\right)}
[/latex]