Source TeX:
(f \circ g)(x) = f(g(x)) = \left({\sqrt{x}}\right)^2 + 1