The question is $$ (2x^3+3x^2-39x-20) / (x-4) $$
I divided the following and got this as the answer $$ 2x^2+9x+3-8/(x-4))$$ I thought that this was the answer, but when i looked at the answer sheet the answer was this $$(x-4)(x+5)(2x+1)$$ I think the answer should've been factored but i don't know how to factor this $$ (2x^3+3x^2-39x-20) / (x-4) $$ and also i have a general question about factoring these types of problems $$ax^3+bx^2+cx+d$$ which method would i choose, because i should be getting 3 answers and I don't know how to do that.
Dividing $2x^3 +3x^2 -39x -20 $ by $(x-4)$ should give you $2x^2 +11x+5$
Then factorise $2x^2 +11x+5$ to get the remaining factors:
$$2x^2 +11x+5 = (2x + 1)(x+5)$$
For more on dividing polynomials, see the following khan academy video