The graph f(x)=x^2 was transformed to create the graph g(x)=−(3x)^2.

Which statement describes this transformation?


a reflection over the x-axis and a horizontal compression

a reflection over the y-axis and a horizontal compression

a reflection over the y-axis and a vertical compression

a reflection over the x-axis and a vertical compression