(x²+x-1)(x²+x-7)+5=(x²+x)²-8(x²+x)+12=(x²+x-2)(x²+x-6)=(x+2)(x-1)(x+3)(x-2)-3x^(n+2)+18x^(n+1)y-27x^ny² =-3x^n(x^2-6xy+9y^2)=-3x^n(x-3y)^2(a-b)x²+2ax+a+b=ax²+2ax+a -bx²+b=a(x+1)²-b(x+1)(x-1)=(ax+a-bx+b)(x+1)