<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] $$-1<\frac{3x+1}{x-2}<1$$
Multiplying expression by $x-2$,
$-x+2<3x+1<x-2$
$-x+2<3x+1$ and $3x+1<x-2$
$1<4x$ and $2x<-3$
$\frac 14<x$ and $x<\frac{-3}{2}$
We have either $x<2$ or $x>2$.
</s>