I need help ASAP withthis

The answer is DDDD, because if you plug in all the values of x and y into the equation like this..
y=x-3
A - 5=-2-3 >> 5=-5 >> not correct
B 2= -5-3 >> 2=-8 >> not correct
C 5=2-3 >> 5=-1 >> not correct
D 2=5-3 >> 2=2 >> CORRECT
D is the only correct answer!