Solve the equation: $$\begin{aligned}|x+1|-|x|+3|x-1|-2|x-2|=x+2.\end{aligned}$$ Please provide the sum of the minimum and maximum solutions.

Let's think step by step and output the final answer within \boxed{}.
user