just plug in the x values (from table) into the function to find y values
y = 3x - 2
when x = - 1, y = 3x - 2 = 3(-1) - 2 = -3 - 2 = -5
when x = 0, y = 3x - 2 = 3(0) - 2 = 0 - 2 = -2
when x = 1, y = 3x - 2 = 3(1) - 2 = 3 - 2 = 1
when x = 2, y = 3x - 2 = 3(2) - 2 = 6 - 2 = 4