sum and difference of two cubes

what is the answer??
(x-1)³+(y+2)³


Sagot :

(x - 1)^8 + (y + 2)^8

a^3 + b^3 = (a + b)(a^2 - ab + b^2)
a^3 - b^3 = (a - b)(a^2 + ab + b^2)

[(x - 1)^2]^3 + [(y + 2)^2]^3 It's in the form of the sum of two cubes

Following the format, we get:

[(x - 1)^2 + (y + 2)^2][(x - 1)^2 - (x - 1)(y + 2) + (y + 2)^2]

And... Well, just multiply it out :) Kinda tedious as a task