You have to substitute the x values in to the function and solve for y.
Complete the T-table with the y-values, the points and draw a straight line through them.
For instance,
The function is

when



Write 8 in the table under y next to -1
When



Fill in the T-table with 5 next to 0.
When



Fill in 2 next to 1
Now plot the points
(-1,8) , (0,5) and (1,2)
and draw a straight line through them