I'm given this inequality from Spivak's Calculus book:

And I need to do this:

Here is the answer from the answer book:

I am completely unsure what to do.I have $x_1, x_2, y_1, y_2$ in the inequality, but just $x$ and $y$ in the $(b)$ sub-problem.I fail to follow how the answer in the answerbook is derived.Could someone direct me?