Simplify x(3x^2)^3