g(x)=∫ 0 to x (upper is x and lower is 0) t^3+1dt
Therefore
g(x)=∫0 to x^2 t+1dt
Rational functions:
g(x)=∫x to 2x+1 t+1dt