What's the equation

Given:
The graph of a parabola.
To find:
The equation for the parabola.
Solution:
The vertex form of a parabola is:
[tex]y=a(x-h)^2+k[/tex] ...(i)
Where, a is a constant and (h,k) is the vertex.
From the given graph it is clear that the vertex of the parabola is at point (-1,6). So, h=-1 and k=6.
Putting h=-1 and k=6 in (i), we get
[tex]y=a(x-(-1))^2+(6)[/tex]
[tex]y=a(x+1)^2+6[/tex] ...(ii)
The y-intercept of the graph is at point (0,3). Putting x=0 and y=3 in (ii), we get
[tex]3=a(0+1)^2+6[/tex]
[tex]3-6=a[/tex]
[tex]-3=a[/tex]
Putting a=-3 in (ii), we get
[tex]y=-3(x+1)^2+6[/tex]
Therefore, the equation of the parabola is [tex]y=-3(x+1)^2+6[/tex].