1 answer
(click or scroll down)
P(x) = x^2 (x-5)^2 (x+2)
You said "roots of multiplicity at x=5 and x=0" , but you didn't state the multiplicity
but it only asked for a possible formula, the above satisfies the conditions