# How do you write y = x^2 + 2x + 5 into vertex form?

$y = m {\left(x - a\right)}^{2} + b$
with the vertex at $\left(a , b\right)$
$y = {x}^{2} + 2 x + 1 + 4$
$y = {\left(x + 1\right)}^{2} + 4$
$y = {\left(x - \left(- 1\right)\right)}^{2} + 4$