Answer:
x^2(3x-5)-9(x_5)
I think that is the answer and hope you will benefit from it
(x-5) (x^2-9)
Hope it helps....