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