Integrate Piecewise[{{(3/2-1)*x+4, x < 2}, {(3/2)*x^2-1, x >= 2}}] dx from x=-2..4