discriminant of (a - 3d) x^3 + (a - d) x^2 + (a + d) x + (a + 3d)