FTC, Part 1, piecewise functions.
Split the integral into two integrals (note the upper limit on the first integral and the lower limit on the second integral):
\(\int_{-1}^{2}f(x)dx=\int_{-1}^{1}(3-x^3)dx+\int_{1}^{2}x^2dx \)
I assume you can do these individual integrals.