The limit that i'm trying to solve is this one
$$\lim_{{x\to1}}\frac{3x^2+2x+1}{2x-1}={6}$$
I don't know how to handle the case when two factors are in the numerator and one in the denominator
To find the value of $\delta > 0$ in the $\epsilon$-$\delta$ definition of a limit, you typically replace $|f(x) - L|$ in the inequality with $\epsilon$. In the provided expression:
$${|\frac{3x^2+2x+1}{2x-1}-6|}$$
$$\frac{|3x - 7||x - 1|}{|2x - 1|} < \epsilon$$
The problem becomes trivial if you are allowed to use the following theorem:
Given:
$~\displaystyle \lim_{x\to a} f(x) = M.$
$~\displaystyle \lim_{x\to a} g(x) = N \neq 0.$
Then, $~\displaystyle \lim_{x\to a} \frac{f(x)}{g(x)} = \frac{M}{N}.$
Therefore, I am going to assume that the above approach is off-limits and it is required to go back to basics and construct an $~\epsilon, ~\delta~$ proof.
$\underline{\text{Preliminary Ideas}}$
Given any function $~f(x),~$ and any positive number $~a,~$ you will have that
$|f(x)| < a \iff -a < f(x) < a.$
Suppose $~0 < a < b,~$ and $~0 < c < d.~$
Further suppose that $~a < f(x) < b,~$ and $~c < g(x) < d.$
Then $~\displaystyle \frac{a}{d} < \frac{f(x)}{g(x)} < \frac{b}{c}.~$
That is, a lower bound is achieved by combining a lower bound of the numerator and an upper bound for the denominator. Similarly, an upper bound is achieved by combining an upper bound of the numerator and a lower bound for the denominator.
A common artificial method, in an $~\epsilon,\delta~$ proof, that ensures that all pertinent bounds are positive is to add a constraint to $~\delta,~$ such as (positive) $~\delta~$ must be $~\leq (1/10).$
The previous bullet point is also handy when trying to relate (for example) $~\delta^2~$ to $~\delta.$ For example, if you are guaranteed that $~0 < \delta \leq (1/10),~$ then you know that $~\delta^2 \leq \dfrac{\delta}{10}.~$
$\underline{\text{Formal Proof}}$
Let $~f(x) = 3x^2 + 2x + 1.~~$ Let $~g(x) = 2x - 1.~$
You are given a fixed $~\epsilon > 0.~$
You have to construct $~\delta,~$ based on $~\epsilon,~$
such that $~0 < |x-1| < \delta,~$ will guarantee that $~\displaystyle \left| ~\frac{f(x)}{g(x)} - 6 ~\right| < \epsilon.$
The $~\epsilon~$ constraint will be satisfied if and only if
$$6 - \epsilon < \frac{f(x)}{g(x)} < 6 + \epsilon. \tag1 $$
In addition to deriving some relationship between $~\delta~$ and $~\epsilon,~$ add the artificial constraint that $~\delta \leq (1/100).~$
So, you have that
$$0 < \delta \leq (1/100) ~~\text{and} ~~1-\delta < x < 1 + \delta. \tag2 $$
Now the problem reduces to deriving a relationship between $~\delta~$ and $~\epsilon~$ so that whenever the constraints in (2) above hold, the constraint in (1) above will also hold.
Since $~1-\delta < x < 1 + \delta,~$
and since $~\delta^2 < \delta/100,~$
you have that
$(1 - \delta)^2 < x^2 < (1 + \delta)^2.$
Therefore, $~1 - 2\delta + \delta^2 < x^2 < 1 + 2\delta + \delta^2.~$
Therefore (rather loosely), $~1 - 3\delta < x^2 < 1 + 3\delta.~$
Therefore, $~3 - 9\delta < 3x^2 < 3 + 9\delta.$
Similarly, $~2 - 2\delta < 2x < 2 + 2\delta.$
Therefore
$$6 - 11\delta < f(x) < 6 + 11\delta.$$
Similarly,
$$1 - 2\delta < g(x) < 1 + 2\delta.$$
Therefore,
$$\frac{6 - 11\delta}{1 + 2\delta} < \frac{f(x)}{g(x)} < \frac{6 + 11\delta}{1 - 2\delta}.$$
Further,
$$\frac{6 - 11\delta}{1 + 2\delta} = \frac{6 + 12\delta}{1 + 2\delta} - \frac{23\delta}{1 + 2\delta} = 6 - \frac{23\delta}{1 + 2\delta} \\ > 6 - \frac{23\delta}{1} > 6 - 25\delta.$$
Similarly,
$$\frac{6 + 11\delta}{1 - 2\delta} = \frac{6 - 12\delta}{1 - 2\delta} + \frac{23\delta}{1 - 2\delta} = 6 + \frac{23\delta}{1 - 2\delta} \\ \leq 6 + \frac{23\delta}{0.98} < 6 + 25\delta.$$
Therefore,
$$6 - 25\delta < \frac{f(x)}{g(x)} < 6 + 25\delta.$$
So, let
$$\delta = \min\left( ~\frac{\epsilon}{25}, ~\frac{1}{100} ~\right).$$
This will imply that
$$6 - \epsilon \leq 6 - 25\delta ~~\text{and} ~~6 + 25\delta \leq 6 + \epsilon.$$
It will also imply that $~\delta \leq \dfrac{1}{100}.~$
So, by the analysis given, you will have that whenever $~0 < \delta \leq (1/100),~$ and $~|x - 1| < \delta,~$ you will have that
$$6 - 25\delta < \frac{f(x)}{g(x)} < 6 + 25\delta.$$