Derivation of Vertex Formulas (Quadratic Function - General Form)