The table describes the quadratic function p(x).


x p(x)
−4 24
−3 9
−2 0
−1 −3
0 0
1 9
2 24

What is the equation of p(x) in vertex form?
p(x) = 2(x − 1)2 − 3
p(x) = 2(x + 1)2 − 3
p(x) = 3(x − 1)2 − 3
p(x) = 3(x + 1)2 − 3