Y = -8x
First let's start with A.
Insert the first point into the equation.
0 = -8(0)
0 = 0
That one works, so let's continue.
22 = -8(-3)
22 = 24
That doesn't work, so we now know A isn't the answer.
Moving on to B.
16 = -8(-2)
16 = 16
-24 = -8(3)
-24 = -24
32 = -8(-4)
32 = 32
Since all the points in B match up, it could be that, but let's continue.
For C we already know the first 2 points work, so we only need to test out the third one.
-17 = -8(2)
-17 = -16
Now only D is left, and we also know the first two are correct.
9 = -8(-1)
9 = 8
So the answer is B.