Write a quadratic function in the vertex form f(x)= a(x-h)² + k such that the graph of the function opens up and has a vertex at (-1,6) and contains the point (2,15).
The function is f(x)=