I chose both positive and negative numbers.
Say n is at the center at N + 0. There will be 5 numbers on the left and on the right.
N - 5, N - 4 ........ N ........ N + 4, N + 5.
Average of the first 9 is 7.
So, N -5, N - 4, N - 3, N - 2, N - 1, N, N + 1, N + 2, N + 3.
You can eliminate the pairs of 3 and 2 and 1 because they cancel each other out.
9N - 9 (They are the sum of -5 and -4) Divided by 9 equals to 7.
N -1 = 7.
N = 8.
If you know N = 8, then you can calculate the average.
Looking at 2: Here is the logical part, you don't need to do any calculation. Just see that it works because it just gives the average of another value.
So both are suff hence answer D. Hopefully this will give you the answer in less than 2 minutes.
Hope it helps.