The sum of all the roots of the equation \( (x - 1)^2 - 5|x - 1| + 6 = 0 \), is:
\( 3 \)
\( 5 \)
\( 1 \)
\( 4 \)