Simplify x*3x^2