Formula use:
a^3+b^3=\left(a+b\right)\left(a^2-ab+b^2\right)
\left(a+b\right)^3=\left(a+b\right)\left(a^2+2ab+b^2\right)
Explanation
Given expression is: a^3+{6a}^2b+12ab^2+8b^3
Factorize
a^3+{6a}^2b+12ab^2+8b^3
\rightarrow\left(a\right)^3+3.a^2.2b+3.a.\left(2b\right)^2+\left(2b\right)^3
\rightarrow\left(a+2b\right)^3
\therefore\left(a+2b\right)\left(a^2+4ab+4b^2\right)
Ans: \left(a+2b\right)\left(a^2+4ab+4b^2\right)