Developper puis reduire :

a)  A=x(3+x)-2(x+5)
b)  B=2(x-7)-2(x2+1)