I just wanted to know how to get from $\sqrt{12}$ to $2\sqrt{3}$
Because my buddy was teaching me math the other day and gave me a list with some basic exercises to do, one of which is to solve $f(x)=\sqrt{x^2 + 2x + 4}$ for $x=2$
The result I found was $\sqrt{12}$ but WolframAlpha says it is $2\sqrt{3}$ and I don't know how to get there. Is it wrong to just leave it as the first one?