<s>[INST] Simple inequality $\left|\frac{3x+1}{x-2}\right|<1$ 
$$\left|\frac{3x+1}{x-2}\right|<1$$

$$-1<\frac{3x+1}{x-2}<1$$
$$-1-\frac{1}{x-2}<\frac{3x}{x-2}<1-\frac{1}{x-2}$$
$$\frac{-x+1}{x-2}<\frac{3x}{x-2}<\frac{x-3}{x-2}$$
$$\frac{-x+1}{x-2}<\frac{3x}{x-2}<\frac{x-3}{x-2} \text{ , }x \neq 2$$
$${-x+1}<{3x}<{x-3} \text{ , }x \neq 2$$
$${-x+1}<{3x} \text{  and } 3x<{x-3} \text{ , }x \neq 2$$
$${1}<{4x} \text{  and } 2x<{-3} \text{ , }x \neq 2$$
$${\frac{1}{4}}<{x} \text{  and } x<{\frac{-3}{2}} \text{ , }x \neq 2$$
While the answer is 
$${\frac{1}{4}}>{x} \text{  and } x>{\frac{-3}{2}}$$
 [/INST] We can not multiply by $x-2$ even if it is $\ne0$
In fact the inequality sign remains valid only if $x-2>0$ 
$$-1<\dfrac{3x+1}{x-2}\iff0<\dfrac{3x+1-(x-2)}{x-2}=\dfrac{x+3}{x-2}$$
So, we need $(x-2)(x+3)>0$
Now if $(x-a)(x-b)>0;a\le b$ we can prove either $x>b$  or $x<a$
</s>