From the given table there are 4 points
(-1, -2), (1, 0), (3, 2), (5, 4)
The rule of the slope of the line that passes through the points

is

Let us choose any two points and use them
Let

Substitute them in the rule above

The slope of the line is 1
Let us plot the given points on the graph
Join the 4 points to get the line