hello I've been trying to understand how $\varepsilon$-$\delta$ definition is used to demonstrate limits, but i don't get it yet.
In the book [Ron Larson, Bruce H. Edwards-Calculus_ Early Transcendental Functions-Brooks Cole (2014)] says the following:

So I've develop mi own, and i don't know if the are right, and that's why i need your help, so here we go:
$\displaystyle{\lim_{ x \rightarrow 2}}\;(3x-2)=4$
Let $\varepsilon>0$ and $\delta>0$, then
$0<|x-2|< \delta \implies |3x-2-4|<\varepsilon$
Find a value for $\delta$:
$|3x-2-4|<\varepsilon$
$\implies -\varepsilon<3x-2-4<\varepsilon$
$\implies -\varepsilon<3x-6<\varepsilon$
$\implies -\varepsilon<3(x-2)<\varepsilon$
$\implies -\dfrac{\varepsilon}{3}<x-2<\dfrac{\varepsilon}{3}$
$\implies |x-2|<\dfrac{\varepsilon}{3}$
Choose $\delta=\dfrac{\varepsilon}{3},$ proove that $\delta$ works:
$|x-2|<\dfrac{\varepsilon}{3}$
$\implies -\dfrac{\varepsilon}{3}<x-2<\dfrac{\varepsilon}{3}$
$\implies -\varepsilon<3(x-2)<\varepsilon$
$\implies -\varepsilon<3x-6<\varepsilon$
$\implies -\varepsilon<3x-2-4<\varepsilon$
$\implies |3x-2-4|<\varepsilon$
I think in the book what they are trying to say is that:
If $|x-2|<\dfrac{\varepsilon}{3}$, then
$0<|3x-2-4|<\delta$
$0<|3x-6|<\delta$
$0<|3(x-2)|<\delta$
$0<3|x-2|<\delta$
$0<3\dfrac{\varepsilon}{3}<\delta$
$0<\varepsilon<\delta$



Your problem is when you say : Let $\varepsilon>0$ and $\delta>0$ then $$|x-2|<\delta\implies |3x-2-4|<\varepsilon$$
First, you can't fix $\delta>0$ and secondly, it's wrong that for all $\varepsilon>0$ and all $\delta>0$, $$|x-2|<\delta\implies |3x-2-4|<\varepsilon.$$
So let $\varepsilon>0$. You remark that $$|3x-2-4|=3|x-2|.$$ Therefore, if you take $\delta\leq \frac{\varepsilon}{3}$ (as you see, $\delta$ is not unspecified and it depend on $\varepsilon$ !), then $$|x-2|<\delta\implies |3x-2-4|=3|x-2|\leq 3\delta\leq 3\cdot \frac{\varepsilon}{3}=\varepsilon,$$ and here we are !