Let f(x) = x^2 and g(x) = x + 1 . Compute (f \circ g)(x)