Answer
$y=(x+4)^{2}+1$
Work Step by Step
We already know $y$, $x$, $k$ and $h$ from the given vertex and point, so in order to get the quadratic function we need to find $a$...
$y=a(x-h)^{2}+k$
$5=a(-2+4)^{2}+1$
$5=a(2)^{2}+1$
$4a=4$
$a=\frac{4}{4}$
$a=1$
Therefore the function is...
$y=(x+4)^{2}+1$