Let X′ be a topological space, let u:X→X′ be a continuous mapping, and put f′=u∘f. Let w:X∪fB→X′∪f′B be the unique continuous mapping such that w∘αf=αf′∘u and w∘βf=βf′. If u defines a homotopy equivalence of the pair (X,f(A)) with the pair (X′,f′(A)), then w defines a homotopy equivalence of the pair (X∪fB,βf(B)) with the pair (X′∪f′B,βf′(B)).
The proof is analogous to that of Corollary 1.
Bourbaki sets the proof directly after the statement, and the corpus does not separate them, so what is above is the statement and its proof together.