How do you do linear function tables?

if you have a linear equation, for example y = 2x +1

you set up table like this

x y= 2x+1
-2 -3
-1 -1
0 1
1 3
2 5

you can pick any value of x, then then substitute into the equation and solve for y.