\(A=x^2\left(x+y\right)+y^2\left(x+y\right)+2x^2y+2xy^2\)
\(A=x^2\left(x+y\right)+y^2\left(x+y\right)+2xy\left(x+y\right)\)
\(A=\left(x+y\right)\left(x^2+2xy+y^2\right)\)
\(A=\left(x+y\right)\left(x^2+2xy+y^2\right)\)
\(A=\left(x+y\right).\left(x+y\right)^2\)
\(A=\left(x+y\right)^3\)