# How do you complete the square for x^2 + 6x + 2?

${x}^{2} + 6 x + 2 = {x}^{2} + 6 x + 9 - 2 = {\left(x + 3\right)}^{2} - 2$
$a {x}^{2} + b x + c = a {\left(x + \frac{b}{2 a}\right)}^{2} + \left(c - {b}^{2} / \left(4 a\right)\right)$