y = -x^2 + 1 for x >= -1, x <= 1