Suppose that you are asked to factor the polynomial
$$x^2 -x-12,$$
and are unable to think of a factorization. (Yes, I know, it is easy to think of a factorization.)
You could do the following.
$1$. Solve the equation $x^2-x-12=0$ using the Quadratic Formula. In this case we find that the solutions are
$$\frac{1 \pm \sqrt{(-1)^2 -(4)(1)(-12)}}{2}.$$
If you do the calculations, it turns out that the solutions are pretty simple. They are $p$ and $q$, where $p=4$ and $q=-3$.
$2$. Since the solutions are $p$ and $q$, the quadratic factors as
$$(x-p)(x-q).$$
In our case, we get
$$(x-4)(x-(-3)).$$
The above expression is, for good reason, considered unattractive, and probably should be rewritten as $(x-4)(x+3)$.
Let's apply the same method to $x^2-x-13$. Using the Quadratic Formula, we find that the solutions of $x^2-x-13=0$ are $p$ and $q$, where
$$p=\frac{1+\sqrt{53}}{2} \qquad\text{and} \qquad q=\frac{1-\sqrt{53}}{2}.$$
So our quadratic factors as $(x-p)(x-q)$.
The general idea can be adapted to more complicated quadratics, the ones with $a\ne 1$ that are such effective instruments of torture in Algebra $1$.
Suppose that we want to factor $6x^2+x -12$. The solutions of the equation $6x^2+x-12=0$ are, by the Quadratic Formula, $p$ and $q$, where $p=16/12=4/3$ and $q=-18/12=-3/2$.
Since the lead coefficient of our quadratic is $6$, we have
$$6x^2+x-12=6(x-p)(x-q)=6(x-4/3)(x+3/2).$$
This looks pretty good to me, but you might want to note that we can simplify (?) this to $(3x-4)(2x+3)$.
The points being made:
$1$. In Algebra $1$, one is asked to acquire a facility with factoring. Many students have a good "eye", or a good memory, so experience no difficulty. (The number of examples of quadratics with smallish integer coefficients which have rational roots is quite small.)
$2$. But some find the process painful. There is a very useful formula (the Quadratic Formula) that makes the process mechanical and universal. There is an even more important idea (Completing the Square) which also makes the process mechanical. But the Quadratic Formula and Completing the Square are kept hidden. (I have some sympathy with not giving out the Quadratic Formula, and insisting that for a while all calculations be done by completing the square.)
$3$. Certain basic factoring facts, by far the most important of which are $x^2-a^2=(x-a)(x+a)$ and $x^2+bx=x(x+b)$, really are needed. But factoring $x^2-6x-91$ is only of use in quizzes.
$4$. There are real uses for factoring a quadratic as $(x-p)(x-q)$ where $p$ and $q$ may turn out to be irrational, which is most of the time. So focusing so much attention on the unusual quadratics for which $p$ and $q$ turn out to be rational is misleading.