I believe it’s D.
The way you can check this is to substitute one of the x values and solve. If you get the y value as an answer, the table is most likely the answer.
One of the x values in table D is -6
You can substitute this as x in y=1/2x-7
Y=1/2x-7
Y=1/2(-6)-7
Y=-3-7
Y=-10
Since the outcome is -10, and that’s what the y value was on the table, you can assume D would be the answer.
Hope this helped.