The solution to this inequality is as follows:
We need to find solutions in which the numerator and denominator will be greater than zero (positive values). The denominator must not equal to zero (undetermination). That is, we need to find when the numerator and denominator will be positive, and the denominator and numerator will be negative. That is
[tex]x+5\ge0\rightarrow x\ge-5[/tex]And
[tex]x+2>0\rightarrow x>-2[/tex]One of the solutions is x > -2 (-2, infinity).
The other solution will be when x + 2 < 0 and x + 5 <= 0 or
[tex]x+2<0\rightarrow x<-2[/tex][tex]x+5\leq0\rightarrow x\leq-5[/tex]The other solution is when x <= -5, since both solutions intersect in this interval (-infinity, 5].