We can write the equation of a parabola in to forms.
The standard form:

Or the vertex form:

Where the point (h,k) is the vertex. We are going to use this one to solve this problem.
We have that the vertex coordinates are (2,7), so h=2 and k=7. So we have the formula:

We just need to find a. For this we use the second point given (4,2). Replace x=4 and y=2 in the formula ans solve for a:




Then we have the complete equation for the given parabola:

To write it in the standard form we just have to use the binomial squared fomula:



And in the standard form a = -5/4, b=5 and c=2