y = abs(x - 1) - 1