completing the square f = 4*x**2 - 4*x + 7