I looked at the original equation and figured that if there was a way to divide (x-?) into it, then the ? had to be either 4 or a factor of 4 because that would make the division come out even.
I tried (x-2) into x^3 - 2x^2 - 7x - 4 but that didn't work.