Let's start with the table for y = -2x.
Pick any x value you want. It's easiest to start with x = 0
So y = -2x = -2*0 = 0. This means x = 0 and y = 0 pair up together.
Now let's do x = 1
y = -2x
y = -2*1
y = -2
This means x = 1 and y = -2 pair up together.
If x = 2, then,
y = -2x
y = -2*2
y = -4
We would have x = 2 over top y = -4 as another column.
Finally if x = 3, then
y = -2x
y = -2*3
y = -6
Meaning the point (x,y) = (3,-6) is also on the line of y = -2x
========================================================
For the second table, you will have -4 for every box in the x row. This is because the equation x = -4 tells us this. The value of y can be anything you want as y is not present in the equation. Simply pick your four favorite numbers to fill in the boxes for the y row. This graphs out a vertical line with an undefined slope.