The table that shows y as a function of x is table H. In this table, the values in the y column change based on the corresponding values in the x column. To find the answer, you need to look for a table where the y values are dependent on the x values.
In table H, the x column has values of -2, 0, and 1, while the y column has values of -6, -1, and 4. The values in the y column change as the values in the x column change. For example, when x is -2, y is -6; when x is 0, y is -1; and when x is 1, y is 4.
By comparing the other tables, you can see that the values in the y column do not change based on the values in the x column. In tables F, G, and J, the values in the y column remain the same regardless of the values in the x column.
Therefore, the table that shows y as a function of x is table H.