Answer
$y=-(x-1)^{2}+6$
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$
$2=a(-1-1)^{2}+6$
$-4=a(-2)^{2}$
$4a=-4$
$a=-\frac{4}{4}$
$a=-1$
Therefore the function is...
$y=-(x-1)^{2}+6$