What is the value of $x$ if $|x-1|=|x+2|$?
Case 1: x >= 1
x - 1 = x + 2
(no solutions)
Case 2: -2 <= x <= 1
1 - x = x + 2
-1 = 2x
x = -1/2 (valid)
Case 3: x < -2
1 -x = 2 - x
Therefore, x = -1/2