f(x)={\begin{matrix}{x}^{3}-3x,x\leq -1 \\ 2,-1<x\leq 2 \\ {x}^{2}+2x-6,2<x<3 \\ 9,3\leq x<4 \\ 10,4\leq x<5 \\ 11,x=5 \\ 2x+1,x>5\end{matrix}
Clearly f(x) is not differentiable at x=2,3,4,5⇒m=4
I=∫−22f(x)dx=∫−2−1(x3−3x)dx+∫−122⋅dx=427
Hence the ordered pair is (4,427)