This is LaTeX code:
[latex]
g_{1}(x) = 5 - x\\ g_{2}(x) = \frac{24}{x+5}\\ g_{3}(x) = x^{10}\\ f = g_{1} \circ g_{2} \circ g_{3}
[/latex]