The graph of \( g(x) = -x^2 + 2 \) is obtained by shifting the graph of \( f(x) = -x^2 \) vertically upwards by 2 units.
{"axisType": 3, "coordSystem": {"xmin": -3, "xmax": 3, "ymin": -3, "ymax": 3}, "commands": ["y = -x2", "y = -x2 + 2"], "latex_expressions": ["$y = -x^2$", "$y = -x^2 + 2$"]}