You first take any two points from the table and find the slope. Then you can take that slope and any point in the table and plug it into that point-slope form equation.

Where 'm' is the slope and

is a point on the line(or in this case a point in the table).
You can then distribute the slope into the parenthesis and add/subtract y1 to both sides to get the slope-intercept form equation.