>>696
x^2+y^2=(x+y)^2-2xy
x^3+y^3=(x+y)^3-3xy(x+y)