Which statement best explains whether the table represents a linear or nonlinear function?

Input (x)
-2
-5
-8
-11

Output (y)
7
4
1
-2


A. It is a linear function because there is a constant rate of change in both the input and output values.

B. It is a nonlinear function because there is a constant rate of change in both the input and output values.

C. It is a linear function because the input values are decreasing.

D. It is a nonlinear function because the input values are increasing.