The 2 here are correct and the first one on the other thread is also correct.
When you cross reference threads it might be a good idea to do it in two directions - not just one :)
So I know know that you can pull out common factors to factorise but you do not know how to do quadratics.
quadratics fall into a number of different types so lets look at the easiest ones
first I am going to expand and then simplify this
$$\\(x+2)(x-3)\\
=x(x-3)+2(x-3)\\
=x^2-3x+2x-6\\
=x^2-x-6\\$$
Now I want to go the other direction and factorise.
$$\\x^2-x-6\\
=x^2-1x-6$$
Now I need 2 numbers that multiply to -6 and add to -1
Since they mult to give a negative number, one must be pos and one must be neg.
Since the add to a neg, the 'bigger' one must be the neg.
Must be -3 and +2 -3*2=-6 -3+2=-1 that works :)
the answer is
$$(x-3)(x+2)$$
------------------------------------------------------------------------------
Your turn Tenacious 
Factorise
$$\\1) x^2+7x+6\\
2) x^2+10x+21$$
.