Find the greatest divisor of the following polynomials over Q the field of rational numbers.
(a) x³ - 6x + 7 and x + 4.
(b) x² - 1 and 2x⁷ - 4x⁵ + 2.