a: Ta có: \(\left(x+y\right)^3-\left(x-y\right)^3\)
\(=x^3+3x^2y+3xy^2+y^3-x^3+3x^2y-3xy^2+y^3\)
\(=6x^2y+2y^3\)
\(\left(x+y\right)^3-\left(x-y\right)^3\)
\(=\left(x+y-x+y\right)^3+3\left(x+y\right)\left(x-y\right)\left(x+y-x+y\right)\)
\(=8y^3+6y\left(x^2-y^2\right)\)
\(=8y^3+6x^2y-6y^3\)
\(=2y^3+6x^2y\)