Simplify (3x-1)^3