Factorize: 3ax + 6a - x - 2
Let's group them
The 3ax + 6a Group
Bring out which numbers or letters are common in both expressions
You can see 3 can go into 6, hence 3 is common
a also appeared at both sides, hence a is also common
3a(x+2)
The - x - 2 Group
-x = -1 x x
-2 = -1 x 2
Hence - x - 2 = -1 x x -1 x 2
- 1 is common
-1 x x -1 x 2 = -1(x+2)
3ax + 6a - x - 2 = 3a(x+2)-1(x+2)
3a(x+2)-1(x+2)
(x+2) is also common, hence bring it out
(x+2)(3a-1)
(x+2)(3a-1) is the same as (3a-1)(x+2), you can change the order of multiplication and the result will still be the same