Simplify (3x^3)^4