Determine the quadratic function in vertex form with a vertex at (-2,4) and going through the point (1,-6)​