Step-by-step explanation:
I think it will help you.
Look at the example
Let's use mid-term splitation
[tex]\\ \rm\rightarrowtail 6x^2-5x-6[/tex]
[tex]\\ \rm\rightarrowtail 6x^2+4x-9x-6[/tex]
[tex]\\ \rm\rightarrowtail 2x(3x+2)-3(3x+2)[/tex]
[tex]\\ \rm\rightarrowtail (2x-3)(3x+2)[/tex]