you want

now, for the fraction to be less than zero, we need the numerator and the denominator to be different signs. so, WLOG, just solve for

and

when you find the required x-values, plot them on a number line, and test values in all the regions to see if the satisfy the original inequality, this will give you your intervals of solutions