x - 2 x - 5 ----- > ----- x + 7 x + 4
(x - 2)/(x + 7) > (x - 5)/(x + 4)
Or(And(-oo < x, x < -7), And(-4 < x, x < oo))
((-oo < x)∧(x < -7))∨((-4 < x)∧(x < oo))
(-oo, -7) U (-4, oo)
x in Union(Interval.open(-oo, -7), Interval.open(-4, oo))