Write in general form - ax^2+bx+c

Vertex: (-1,-1)
point on the graph: (0,4)

we know that

y = a(x+1)-1
4 = a(1)-1
so a = 5

y = 5(x+1)-1
y = 5x^2 + 10x + 4