This is a numerical-answer question. The correct answer is shown below.
[Solution by Dr. Abubacker] On $[-1,0)$: $f=-x$; on $(-2,-1)$: $f=-2x$; at $x=-1$ the limits are $2$ (left) and $1$ (right): discontinuous, so $m=1$. On $[0,1)$: $f=0$ and on $[1,2)$: $f=x-1$. At $x=0$: left slope $-1$, right slope $0$, not differentiable; at $x=1$: left slope $0$, right slope $1$, not differentiable. Non-differentiable points: $-1,0,1$, so $n=3$. $m+n=4$. Answer: 4.