|x+1|=\left\{\begin{array}{cc}x+1, & x+1\geq 0\Rightarrow x\geq -1\\ -(x+1),& x+1<0 \Rightarrow x<-1\end{array}