Here critical points are 1,2,7 using the method of intervals,
We find intervals when the expressions x−1,7−x and x−2 are of constant signs x<1,17
The given equation is equivalent to the collection of four systems,
⎧⎪
⎪
⎪⎨⎪
⎪
⎪⎩−(x−1)+(7−x)−2(x−2)=4,x<1(x−1)+(7−x)−2(x−2)=4,1≤x≤2(x−1)+(7−x)+2(x−2)=4,2≤x≤7(x−1)−(7−x)+2(x−2)=4,x≥7
⎧⎪
⎪⎨⎪
⎪⎩x=2,x<1x=3,1≤x≤2x=1,2≤x≤7x=4,x≥7
From the collection of four systems, the given equation has no solution.