a^3 + b^3 = (a + b)(a^2 - ab + b^2)
(a - b)^2 = a^2 - 2ab + b^2 (x - 1)^2 = x^2 - 2*1*x + 1
-(-a) = a
x^3 + 8 = (x + 2)(x^2 - 2x + 4) = (x + 2)(x^2 - 2x + 1 + 3) = (x + 2)((x - 1)^2 + 3)
отсюда 1 и 3
=========
(a - b)(c - d) = ac - ad - bc + bd
a*(-b) = -ab
-a*(-b) = ab
x^2 + 3 - (x - 1)*2x = x^2 + 3 - ( 2x^2 - 2x) = x^2 + 3 - 2x^2 + 2x = -x^2 + 2x + 3