Complete the function table them write a rule for the function

x | y

--|--
1 | 2
2 | 4
3 | 6
4 | 8

The rule for this function is y = 2x.