The answer is $(x^2 - 4x - 5)(x^2 + x + 9)$ but I don't know how to get there.
As a solution I tried this. Write the polynomial as:
$(x^2 + Ax + B)(x^2 + Cx + D) = 0$
Then equate powers of $x$ and solve the following system:
$x^3: A + C = -3$
$x^2: AC + D + B = 0$
$x^1: AD + BC = -41$
$x^0: BD = -45$
As far as I can see, this system of linear equations, produces a more complicated polynomial.
By the rational root theorem we find the roots $5$ and $-1$ so that the polynomial factors as $$ (x^2 + x + 9)(x + 1)(x - 5). $$ The only confusion here with our answer is that $x^2 - 4x - 5$ is not irreducible but still decomposes into two linear factors. Dividing them out you don't have to make the computation $(x^2+ax+b)(x^2+cx+d)$ any longer.