Bonjour,
f(x) = (3x+3)(x-1)+8(x-1)
= (x-1)[(3x+3)+8]
= (x-1)(3x+11)
= 3x²+11x-3x-11
= 3x²+8x-11
= x(3x+8)-11