Find b. Put x=2π+h. Then 1−sinx=1−cosh≈2h2 and (π−2x)2=4h2, so the limit is 8b.
Continuity: 8b=31⇒b=38, and 3b−6=2.
Integrate. x2+2x−3=(x+3)(x−1) is negative on [0,1) and positive on (1,2]:
∫01(3−2x−x2)dx+∫12(x2+2x−3)dx=(3−1−31)+(37+3−3)=35+37=4.
Answer: 4.