This question was asked in Example 4
factorise:x^3-3x^2-9x-5

Ansh Rehan's image