Complete the square for a quadratic expression.