Write the function rule for the data in the table below.

Input (x) 1 2 3 4 5
Output (y) 6 10 14 18 20

y = 4x + 2

To find the function rule for the given data, we can observe the relationship between the input (x) and output (y) values.

From the given table, we can see that the output (y) values are obtained by multiplying the input (x) values by 4 and then adding 2.

Thus, the function rule for the given data is:

y = 4x + 2