The equation of a parabola with vertex (h,k) is:

Where c is a constant.
Notice that the graph of this parabola has a y-intercept of -2 and the vertex has coordinates (1,-3). Replace h=1 and k=-3:

Since f(0)=-2, replace x=0 and f(0)=-2 to find the value of the constant c:

Then, the equation for the given graph, is:

Which can be expanded as follows:

Therefore, two possible (equivalent) answers are:
f(x) = x^2-2x-2
f(x) = (x-1)^2-3