Factoring and Completing the Square