Select the correct answer.
If the function y=x^a-31 is a linear function, what is the value of a?
A. 1
B. 2
C. 3
D. 4
