What is the equation in vertex form of the quadratic function with a vertex at (-1,-4) that goes through (1,8)?

Answer:
G
Step-by-step explanation:
vertex formula = a(x-h)^2 + k
vertex is (h, k) so (-1, -4) means
y = a(x+1)^2-4
passes through (1, 8) so when x = 1 and y = 8
8 = a(1+1)^2-4 = 4a - 4
4a = 4
a = 1