As an alternative method, this solution uses the quadratic formula (Chaoyun L has illustrated the factoring method in her solution):
x2+5x+6=12.......expand left hand side
x2+5x-6=0..........subtract 12 from both sides
Now use the quadratic formula to solve for "x"......
-b±√(b2-4ac)
r= -----------------
2a
r= -----------------
2a
where a=1, b=5, c=-6
x=(-5±√(52-4(1)(-6))) / (2(1))...substitutes values for "a, b, c"
=(-5±√(25+24)) / 2
=(-5±√49)/2
=(-5±7)/2............calculate both roots, pos and neg radical values
x=(-5+7)/2=2/2=1
-or-
x=(-5-7)/2=-12/2=-6
So the solutions are x=1, -6 for the given equation.
Now plug these values into the original equation from the prob
statement and check for truth (i.e. 12=12). Always check your
work, solution.