Solving Quadratic Functions by Completing the Square