 
Brandon B. answered  02/28/21
Physics PhD. 10+ years teaching precalculus based physics.
We start with the formula for a quadratic function f(x) = ax2 + bx + c
The vertex of a quadratic function is at x = -b/(2a). So a vertex at x = -2 gives us -2 = -b/(2a) ⇒ b = 4a.
Our updated quadratic equation is:
f(x) = ax2 + 4ax + c
Next, a vertex at f(-2) = 1 gives us 1 = 4a - 8a + c ⇒ c = 1 + 4a
Our updated quadratic equation is now f(x) = ax2 + 4ax + 4a + 1
Finally, we apply the condition f(-1) = -1 = a - 4a + 4a + 1 ⇒ a = -2
This gives us f(x) = -2x2 - 8x - 7
 
     
             
 
                     
                    