math
posted by meow .
Write a function rule for the data in the table.
Input (x) 1 2 3 4 5
Output(y) 6 8 10 12 14
I've been looking at this for about an hour now and can't figure out how to write it. I understand what the rule is, but I dont know how to write it as a function rule. Please help, lol.

maybe:
y(x) = 2 x + 4