Polynomial x^4 + 7x^3 + 7x^2 + px + q is exactly divisible by x^2 + 7x + 12