This is LaTeX code:
[latex]
f(g^{[n]}(x))
[/latex]