2:
1: =2y(x+2)-3(x+2)
=(x+2)*(2y-3)
2: =3(x+4)-x(x+4)
=(x+4)(3-x)
3: =2(x+5)-x(x+5)
=(x+5)(2-x)
4: =x(x+6)-3(x+6)
=(x+6)(x-3)
5: =x(x+y)-5(x+y)
=(x+y)(x-5)
6: =x(x-y)+2(x-y)
=(x-y)(x+2)
7: =2x(x-5)+3(x-5)
=(x-5)(2x+3)
8: =x(x+y)+a(x+y)
=(x+y)(x+a)
9: =a(x+y)-4(x+y)
=(x+y)(a-4)
10: =a(x-y)+b(x-y)
=(x-y)(a+b)
11: =z(x+y)-5(x+y)
=(x+y)(z-5)
12: =5(x-y)+a(x-y)
=(x-y)(a+5)