Simplify (3x^2)^3