The function g(x) is shown on the graph.
The graph shows an upward opening parabola with a vertex at negative 3 comma negative 2, a point at negative 5 comma 2, and a point at negative 1 comma 2.
What is the equation of g(x) in vertex form?
g(x) = (x − 3)2 − 2
g(x) = (x − 3)2 + 2
g(x) = (x + 3)2 − 2
g(x) = (x + 3)2 + 2