As given by the question
There are given that the equation:
Now,
Put the value of x into the given equation and find the value of y from all the tables one-by-one and match their value of x and y are equal or not.
Then,
Form the option third,
Put x = -2 to find the value of y, then match the value of y with the given value of y in the table.
So,
Now,
Put x = -1, then:
Then,
Put x = 0, then:
Then,
Put 1 into the given equation instead of x:
So,
And,
Put x = 2, so:
Now,
From option d, all values of x and y are matched also but curve representation is matched in option D.
Hence, the correct option is D.