2 (2*x - 1) + (2*x + 1)*(2*x - 1)
(-1.0 + 2.0*x)^2 + (1.0 + 2.0*x)*(-1.0 + 2.0*x)
4*x*(-1 + 2*x)
2 -4*x + 8*x