This is an example from the Stewart's Review of Algebra - https://www.stewartcalculus.com/data/ESSENTIAL%20CALCULUS%20Early%20Transcendentals/upfiles/ess-reviewofalgebra.pdf
It is on page $3$, example $5$. This is what it suggests on the book
Even though the coefficient of $x^2$ is not $1$, we can still look for factors of the form $2x+r$ and $x+s$, where $rs=-4$. Experimentation reveals that: $2x^2-7x-4=(2x+1)(x-4)$
Now, I have no idea what they mean by "experimentation" there. I had $2$ ways to find the solution of this problem: Use Vieta's Theorem or divide the equation by $2$ so the coefficient of a is $1$, factor it using $(x+r)(x+s)$ and then add the coefficient $2$ back. I still have a feeling that none of the methods I tried were the one suggested by the author. Can anyone explain what the author meant by "experimentation" and how he came to that solution?
If$$2x^2-7x-4=(2x+r)(x+s)=2x^2+(r+2s)x+rs,$$then $rs=-4$ and $r+2s=-7$. I suspect the what the author is suggesting here is to take all pairs $(r,s)$ of integers such that $rs=-4$ (there are only $6$ such pairs), and to see whether or net we have $r+2s=-7$ for one such pair. And the answer is affirmative: the pair $(1,-4)$ will work.