Identify the function rule from the values in the table

x | y

2 | 4
4 | 8

The function rule is y = 2x