For this case what you should do is evaluate the values of x in the function shown.
y = 4x + 2
We have then:
For x = 0
y = 4 (0) +2
y = 0 + 2
y = 2
For x = 1
y = 4 (1) +2
y = 4 + 2
y = 6
For x = 2
y = 4 (2) +2
y = 8 + 2
y = 10
Finally the table is:
x --- y
0 --- 2
1 --- 6
2 --- 10
Answer:
x --- y
0 --- 2
1 --- 6
2 --- 10