a)
[tex]w(x)=(8x-7)(3x+2)+(8x-7)(5x-6)\\\\w(x)=24x^2+16x-21x-14+40x^2-48x-35x+42\\w(x)=24x^2+40x^2+16x-21x-48x-35x-14+42\\w(x)=64x^2-88x+28\\w(x)=4(16x^2-22x+7)\\w(x)=4(16x^2-8x-14x+7)\\w(x)=4(8x(2x-1)-7(2x-1))\\w(x)=4(8x-7)(2x-1)[/tex]
b)
[tex]w(x)=(4x^2-9)(x+8)+(6x+2)(4x^2-9)2\\w(x)=4x^3+32x^2-9x-72+(24x^3-54x+8x^2-18)*2\\w(x)=4x^3+32x^2-9x-72+48x^3-108x+16x^2-36\\w(x)=4x^3+48x^3+32x^2+16x^2-9x-108x-72-36\\w(x)=52x^3+48x^2-117x-108\\w(x)=52x^3+126x^2+72x-78x^2-189x-108\\w(x)=2x(26x^2+63x+36)-3(26x^2+63x+36)\\w(x)=(2x-3)(26x^2+63x+36)\\w(x)=(2x-3)(26x^2+39x+24x+36)\\w(x)=(2x-3)(13x(2x+3)+12(2x+3))\\w(x)=(2x-3)(2x+3)(13x+12)[/tex]