integral from z to 1 of 3(x-z-1)^2 dx