The question involves input and output
We have been given an output function y = x - 18
where is the input value
To make a table, we can make use of the range -2 to 2 for the input value
The input is given on the left-hand side
while the output is given on the right-hand side in red color
The values of the output are obtained by substituting or replacing the values of x with -2, -1, 0, 1, and 2.