The functions f(x) = -(x-1)^2 + 5 and g(x) = (x+2)^2 - 3 have been rewritten using the completing-the-square method. Is the vertex for each function a minimum or a maximum? Explain your reasoning for each function.