The graph of f(x)=x^3 was transformed to g(x)=-(x+2)^3-4. Which transformations were applied to the graph of f(x)?