Use the table to write a linear function that relates $y$ to $x$ .
A table with two row heads labeled, “x” and “y” shows the different values of x and y. The values of x are negative 3, 0, 3, and 6. The values of y corresponding to the values of x are 3, 5, 7, and 9.