Mark M. answered 10/06/19
Retired college math professor. Extensive tutoring experience.
Since the polynomial has degree 3, the polynomial has at most 3 distinct roots.
Since the polynomial has real coefficients, complex roots occur in conjugate pairs. So, since -1+2i is a root, then -1-2i is also a root.
So, the only roots are -1+2i, -1-2i, and 5.
A polynomial with these roots is (x - 5)[x - (1+2i)][x - (1-2i)]
= (x - 5)[(x-1) - 2i][(x-1) + 2i]
= (x - 5)[(x-1)2 - 4i2]
= (x - 5)(x2 - 2x + 5)
= x3 - 2x2 + 5x - 5x2 + 10x - 25 = x3 - 7x2 + 15x - 25