Just had a homework problem:

Find all x in R that satisfy 4 less than abs(x+2)+abs(x-1) less than 5.

I did it all out assuming abs(x+2) can be written as x+2 or -x-2 and the same for abs(x-1).

I got an answer of:

-3 less than x less than (-5/2)

and

(3/2) less than x less than 2.

Can anyone confirm this for me?