The given point is (3,6), and the vertex is (1,2). This means
We use the vertex form of a quadratic function.
Let's replace the given values to find a.
Once we have a, we can write the function using the vertex-form and the vertex point.
Hence, the function is