1) ((x-1) * (2x+3) +2 * (x-1) * (x-4)
(x-1) *(2x+3)= 2x*x+3*x-1*2x-1*3 = 2x*x+x-3
(x-1) * (x-4) =x*x-4*x-1*x+1*4= x*x-5*x+4
2 * (x-1) * (x-4) =2x*x-10*x+ 8
2x*x+x-3 + 2x*x-10*x+ 8 = 4x*x - 9*x + 5
2)((x-1) * (2x+3) +2 * (x-1) * (x-4) =(x-1) *( 2x +3 + 2x - 8)= (x-1) *(4x-5)