Suppose that A is an integral domain. Let f be a non-zero element of A[X], and α1,…,αp pairwise distinct roots of f in A, of orders k1,…,kr. We have
f(X)=(X−α1)k1(X−α2)k2…(X−αp)kpg(X)
where g∈A[X] and α1,…,αp are not roots of g.
We proceed by induction on p, the proposition being evident for p=1, by Def. 1. Suppose then that f(X)=g1(X)g2(X), where
g1(X)=(X−α1)k1…(X−αp−1)kp−1,g2(X)∈A[X].
Since A is an integral domain and αp is distinct from α1,…,αp−1 it follows that αp is not a root of g1(X), hence αp is a root of order kp of g2(X) (Prop. 4, (ii)). It follows that g2(X) is divisible by (X−αp)kp, and so
f(X)=(X−α1)k1…(X−αp)kpg(X)
where g(X)∈A[X]. Clearly α1,…,αp are not roots of g.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.