ethan trieed to write an equation of the liner table butmade a mistake

x: 2,4,6
Y:-2,0,2
y=x+4
WHat is the correct solution?

The correct solution for the linear table would be:

x: 2, 4, 6
y: 6, 8, 10

The equation for the linear relationship between x and y in this table would be:

y = x + 4