x2−x−2=x2−2x+x−2=x(x−2)+1(x−2)∴x2−x−2=(x−2)(x+1)So, given expression can be written as (x+1)(x−2)>0⟹∈(−∞,−1)⋃(2,∞)