There is a function g that is quadratic and some of its ordered pairs are shown in the table below.
x. g(x)
-5. -1
-4. 1
-3. -1
-2. -7
-1 -17
Write an equation for the function.
g(x)=