Explanation:
Given function is y = –x.
Substitute the values of x in the function and find the values of y.
y = –x
At x = –2,
y = –(–2) = 2
At x = –1,
y = –(–1) = 1
At x = 0,
y = –(0) = 0
At x = 1,
y = –1(1) = –1
At x = 2,
y = –(2) = –2
Now, substitute the values of y in the table.
The image of the table is attached below.