How to use the method of extracting common factor to solve the equation: (2x-1) * (x + 5) - (1-2x) * (1-x) = 6

How to use the method of extracting common factor to solve the equation: (2x-1) * (x + 5) - (1-2x) * (1-x) = 6

:(2x-1)*(x+5)-(1-2x)*(1-x)=6
(2x-1)(x+5)+(2x-1)(1-x)=6
(2x-1)(x+5+1-x)=6
6(2x-1)=6
2x-1=1
2x=2
x=1