If f(x)=the integral of (3x^2+2x+4) dx, find C if f(1)=10.

integral of (3x^2+2x+4) dx

f(x) = x^3 + x^2 + 4x + C
given (f(1) = 10
10 = 1 + 1 + 4 + C
C = 4