We start by treating the girls as a single block since all the girls must stand together. Thus, we have 5 objects to arrange: the girls block and the 4 boys.
The total number of ways to arrange these 5 objects is \( 5! \), but we must consider that \( B_1 \) and \( B_2 \) should not be adjacent.
First, calculate the total arrangements where all 5 objects are arranged:
\[
5! = 120.
\]
Next, calculate the number of ways in which \( B_1 \) and \( B_2 \) are adjacent. If they are adjacent, treat them as a single block, so now we have 4 objects to arrange. The total number of ways to arrange these 4 objects is \( 4! \), and within the \( B_1 B_2 \) block, there are \( 2! \) ways to arrange \( B_1 \) and \( B_2 \).
Thus, the number of ways in which \( B_1 \) and \( B_2 \) are adjacent is:
\[
4! \times 2! = 24 \times 2 = 48.
\]
The number of ways in which \( B_1 \) and \( B_2 \) are not adjacent is:
\[
120 - 48 = 72.
\]
Thus, the answer is \( 72 \).