Formula use: \left(a+b\right)^3=a^3+3.a^2.b+3.a.b^2+b^3
Explanation
Here, given expression is : 3x+2
Now, we find the cubes with the help of formula :
\left(3x+2\right)^3
\rightarrow\left(3x\right)^3+3.\left(3x\right)^2.2+3.3x.\left(2\right)^2+\left(2\right)^3 [use formula]
\rightarrow 27x^3+3.9x^2.2+3.3x.4+8
\rightarrow 27x^3+54x^2+36x+8
Ans: 27x^3+54x^2+36x+8\ .