The vertex form of a parabola is:

where (h, k) is the vertex of the parabola and a is some constant.
From the graph, the vertex is located at (1, 4), that is, h = 1 and k = 4.
Substituting with these values and the point (0, 3), we get:

Then, the equation of the function is:
