Given the polynomial:

we can clearly see that the roots of the polynomial are 9, -8, 5 and -12.
Then, notice that the factors (x-9) and (x-8) have exponent 1, therefore, 9 and -8 have multiplicity of 1
Then, (x-5) has exponent 2, this means that the root 5 has multiplicity of 2
Finally, the factor (x+12) has exponent 3, which means that the root -12 has multiplicity of 3