so you have factored out x-a so now you want to use delta to put a bound on that, you then know what x will vary between and so you will know the max value of |x^2+x+1|, does that help?

We then use to bound

so let so we know that x varies between 0 and 2

so