This graph represents a quadratic function. What is the function's equation written in factored form and in vertex form?

f(x) = ___ ×(x - ____ )
f(x) = ____ (x - ____ ) ² + ____ ​