How to know when to flip by the reciprocal when solving inequalities?