Answer :

As given by the question

There are given that the equation

[tex]x^2+6x+14[/tex]

Now,

For the value of h and k

[tex]\begin{gathered} x^2+6x+14 \\ x^2+2\times3\times x+9+5 \end{gathered}[/tex]

Then,

[tex]\begin{gathered} x^2+2\times3\times x+9+5 \\ (x+3)^2+5 \end{gathered}[/tex]

Then,

match this equation with the given equation

[tex]\begin{gathered} (x+3)^2+5=(x-h)^2+k \\ h=-3 \\ k=5 \end{gathered}[/tex]

Hence, the correct option is B