Here, we focus our attention on factoring quadratic expressions of the form
$$\begin{align}ax^2+bx+c\end{align}$$
where the leading coefficient is \(a\neq 1\).
Following the process above, we need to find two numbers \(n\) and \(m\) that when added together give you \(b=7\) and when multiplied together give you \(ac=2\cdot 6=12\).
Such numbers are \(n=4\) and \(m=3\) (since \(4\cdot 3 =12=ac\) and \(4+3=7=b\)).
Now break apart the middle term using these numbers and then factor by grouping.
$$\begin{align}2x^2+7x+6&=2x^2+7x+3x+6\\&= (2x^2+4x)+(3x+6)\\&=2x(x+2)+3(x+2)\\&=(2x+3)(x+2)\end{align}$$
IMPORTANT NOTE: Some quadratic expressions cannot be factored in this way. You will be able to tell this by step 2, where you will be unable to find two factors of \(ac\) that add to give you \(b\).
\((x+1)(3x-2)\)
\((x+3)(2x+1)\)
\((4x+7)(x+1)\)
\((4x-3)(x-5)\)
\((2x-5)(3x-7)\)
\((5(a+b)+1)(3(a+b)+1)\)