the given table is,
X.-2,-1,0,1,2,3,4,
Y.0,2,6,12,20,30,42
the first difference in y values are,
2 - 0 = 2
6 - 2 = 4
12 - 6 = 6
20 - 12 = 8
the second difference in y values are,
4 - 2 = 2
6 - 4 = 2
8 - 6 = 2
as the second difference is constant of the table,
thus, The relationship between the variables in the table is quadratic because the second differences are constant.
that is option B