The given zero remainder records one copy of x−3:
P(x)=(x−3)Q(x).
Retest the cubic quotient at 3:
Q(3)=27−9−63+45=0.
Thus x−3 divides Q. Its next quotient is A(x)=x2+2x−15, with zero remainder:
Q(x)=(x−3)A(x).
Retest this quadratic:
A(3)=9+6−15=0.
It supplies another copy of x−3:
A(x)=(x−3)(x+5).
The next quotient, x+5, gives the first nonzero retest:
3+5=8=0.
The given division and two further successful retests give three copies. The nonzero retest rules out a fourth:
P(x)=(x−3)3(x+5).
Therefore 3 has multiplicity exactly 3. Near 3, x+5 stays positive while (x−3)3 changes from negative to positive, so the real graph crosses from below to above. An even multiplicity would give a touch without crossing.