If input x is 1, 2, 3, 4 and output y is 6, 10, 14, 18 , what is its function rule?

6 = 2x3

10 = 2x5
14 = 2x7
18 = 2x9

can you see the pattern ?