We factor the expression inside the absolute value: 3x2−3x−6=3(x2−x−2)=3(x−2)(x+1).
The roots are x=−1 and x=2. On [−2,−1]: (x−2)<0 and (x+1)≤0, so the product is non-negative, and ∣3(x−2)(x+1)∣=3(x2−x−2). On [−1,2]: (x−2)≤0 and (x+1)≥0, so the product is non-positive, and ∣3(x−2)(x+1)∣=−3(x2−x−2)=3(2+x−x2).
Computing the first integral: ∫−2−13(x2−x−2)dx=3[3x3−2x2−2x]−2−1.
At x=−1: 3−1−21+2=6−2−3+12=67. At x=−2: 3−8−24+4=3−8−2+4=3−8+2=3−2.
So the first integral is 3(67−(−32))=3(67+64)=3×611=211.
Computing the second integral: ∫−123(2+x−x2)dx=3[2x+2x2−3x3]−12.
At x=2: 4+2−38=6−38=310. At x=−1: −2+21+31=6−12+3+2=6−7.
So the second integral is 3(310−(−67))=3(620+67)=3×627=227.
The total value is 211+227=238=19.