A parabola opening up or down has vertex (0,- 1) and passes through (6,

10). Write its equation in vertex form.