Question 879806
Distribute to get 



{{{3x(x^2-2x+1)}}}



{{{3x(x^2)+3x(-2x)+3x(1)}}}



{{{3x^3-6x^2+3x}}}