1) (b+c)(a+p)
2)(x-2)(a+1)
3)x(x-5)-(x-5)=(x-5)(x-1)
4)(a+b)(3a-m)
5)(ax+ax)+(bx+bc)=2ax+b(x+c)
6)(3a-3c)+(xa-xc)=3(a-c)+x(a-c)=(a-c)(3+x)
7)(6x+xy)+(7y+42)=x(6+y)+7(y+6)=(6+y)(x+7)
8)(3a^2*x^2-6a^3*x)+(12ax-24a^2)=3a^2x(x-2a)+12a(x-2a)=(x-2a)(3a^2x+12a)
9)(4ap+2a)-(2p^2-p)=2a(2p+1)-p(2p-1)=-2a(1-2p)+p(1-2p)=(1-2p)(p-2a)