what is the quadratic function f(x)=x^2+2x-2 in vertex form?

a. f(x)=(x+1)^2-1

b. f(x)=(x+1)^2-3

c. f(x)=(x-1)^2-3

d. f(x)=(x-1)^2-1