A parabola has a vertex of (1,-2) and goes through the point (2,40). write the equation of the parabola in vertex form