A quadratic function passes through the point (-7, -16) and has a vertex at (-6,
-18). Write the function in the form y = ax2 +bx+c. What are the values of a, b and
c?