There are different types of transformations and their graphs, one of which is a math reflection across the y-axis. If we get the same function from a math reflection, it is a symmetrical function, specifically even. A math reflection flips a graph over the y-axis, and is of the form y = f(-x). (Norm Prokup of Brightstorm)
So the equation is g9x) = f(-x) = -2x-6