To represent a translation of a shape 7 units to the left on the coordinate grid, you would need to subtract 7 from the x-coordinate of each point of the hexagon.
The correct function to represent this translation is:
f(x) = x - 7
Thus, the function Ella writes is