Completing The Square Formula