The exponents on the factors are the multiplicities.
Step-by-step solution
1. Find each zero
Set each linear factor to zero: x−5=0 gives 5, x−13=0 gives 13, x+12=0 gives -12, and x+9=0 gives -9.
2. Read the exponents
The first two factors each occur once, so 5 and 13 have multiplicity one. The factor (x+12)2 makes -12 a double zero; (x+9)3 makes -9 a triple zero. No expansion is needed.