We are doing limits, that comes under Calculus I in most books, but it's part of Pre-calculus (In the Stewart book)

I know how limits work, my question is about their last few steps, they go from "x > -2" to "x^2 + x - 2 < 0" in just one line. I know this has to do with pre-calc but my professor assumes we already know the logic behind it, when I do not

Are there any intermediary steps? Or do you just take any number greater than (-2) and plug it in x^2 + x - 2?