Michael K. answered 04/24/19
PhD professional for Math, Physics, and CS Tutoring and Martial Arts
Since you want a fifth degree polynomial with with the leading coefficient of 2 we know it should look something like...
f(x) = 2x5 + ax4 + bx3 + dx2 + cx + e
We also know something about roots and their multiplicity...
(x - 3)2(x - 4) represents the component of this polynomial based on the roots known...
Let's now marry the information together after multiplying out the result above...
(x - 3)2(x - 4) = (x2 -6x + 9)(x - 4) = x3 - 4x2 -6x2 + 24x + 9x - 36 = x3 - 10x2 + 33x - 36
So f(x) must be a quadratic times the above cubic to make a fifth degree polynomial.
f(x) = (ax2 + bx + c)(x3 - 10x2 + 33x - 36)
f(x) = ax5 - 10ax4 + 33ax3 - 36ax2 + bx4 - 10bx3 + 33bx2 - 36bx + cx3 - 10cx2 + 33cx - 36c
f(x) = ax5 + (b-10)x4 + (33a - 10b + c)x3 + (33b - 36a -10c)x2 + (33c - 36b)x - 36c
Solving for a --> a = 2 [ requirement from problem ]
Solving for c --> -36c = -36 --> c = 1 [ requirement from roots ]
The coefficient on the x3 gives us...
33a - 10b + c = 1 --> 33(2) - 10b + 1 = 1 --> b = -66/10 = -33/5
So the polynomial amounts to plugging in a,b,c into the bolded equation for f(x)