This is an exercise in Mendelson's Mathematical Logic.
If $\mathscr{B} \implies \mathscr{D}$ is a tautology, and $\mathscr{B}$ and $\mathscr{D}$ have the statement letters $B_1, \dots, B_n$ in common, then there is a statement form $\mathscr{C}$ having only $B_1, \dots, B_n$ such that $\mathscr{B} \implies \mathscr{C}$ and $\mathscr{C} \implies \mathscr{D}$ are tautologies.
Is $B_1, \dots, B_n$ supposed to be precisely all the statements letters $\mathscr{B}$ and $\mathscr{D}$ have in common or just some of the ones they have in common (but perhaps not all of them)?