This is a completing the squares problem. If the exponent is:
$-ay^2 - by -c$
then to rewrite the exponent by completing the square I would need to do the following:
$-a\bigg(y^2 - \dfrac{b}{a}y\bigg) - c = -a\bigg(y^2 - \dfrac{b}{a}y + \dfrac{b^2}{4a^2}\bigg) + \dfrac{b^2}{4a} - c = -a\bigg(y - \dfrac{b}{2a}\bigg)^2 + \dfrac{b^2}{4a} - c$ and not what my professor got:
${-a(y-b)^2 +c}$
I'm not sure what the problem is.