You know the roots to the quadratic, so you know how the quadratic can be factorized:
[tex]z^2+az+b=(z-(-7+2i))(z-(-7-2i))=(z+7-2i)(z+7+2i)[/tex]
Expanding the right side gives
[tex]z^2+az+b=z^2+14z+4[/tex]
Matching up the coefficients tells us [tex]a=14[/tex] and [tex]b=4[/tex], so [tex]a+b=18[/tex].