Given a parabola in the form , the vertex is given as (b, c). So, knowing that (-1, 6) is our vertex, we can simply plug it in to get:

Now, we know that (2,10) is a point on the curve so we can simply substitute it in and solve for the remaining variable a.