Write the equation of the quadratic given the following information:
1. Vertex (5,-1) Point (2,4)
2. Vertex (-2,0) Point (-1,-7)
3. Vertex (0,0) Focus (0,2)
4. Focus (-3,4) Directrix y= -2