\(2x^2+5x=12\)
\(\Leftrightarrow2x^2+5x-12=0\)
\(\Leftrightarrow2x^2+8x-3x-12=0\) .
\(\Leftrightarrow2x\left(x+4\right)-3\left(x+4\right)=0\)
\(\Leftrightarrow\left(x+4\right)\left(2x-3\right)=0\)
\(\Leftrightarrow\orbr{\begin{cases}x+4=0\\2x-3=0\end{cases}}\Rightarrow\orbr{\begin{cases}x=-4\\x=\frac{3}{2}\end{cases}}\)