This question was asked in Ex 7.1, 13
How to find that x^3 - x^2 x-1  = (x^2 1)(x-1)
Vishal Pratap's image