We are to complete the function in the graph
From the graph, the vertex of the function is at x = -2
This means the function is 2 units to the left of the y-axis
Hence the given function
will become
Also, the vertex of the function is at y = -1
This means the function is 1 unit below the x-axis
Hence the function will become
By simplifying further we have
Therefore, the function of the graph is