Thank you for posting your question here at brainly. I hope the answer will help you. Feel free to ask more questions here.
1:SPLIT THE MID FACTOR
X^2+8X+12
X^2+6X +2X+12 [12=6*2
8=6+2
2:TAKE COMMON FACTORS FROM 1ST TWO AND LAST TWO FACTORS
X^2+6X +2X+12 EQUALS
X(X+6) + 2(X+6)
3: TAKE (X+6) AS COMMON FACTOR
X(X+6)+2(X+6) EQUALS
(X+6) {X+2}