Equation 17.3.3 should be plus \alpha * y (y = r + gamma * Q'), not minus. And the same for the next equation.