Write p(x) as a product of first and second order factors which are indecomposable over the reals (i.e., (x-a) and (x2+ax+b) with a2-4b< 0).

What can you say about the exponents?

This essentially solves the problem.