So the way I am trying to solve this is as follows:
- Allow the girls to be arranged first : $3!$
- There are 4 spaces that are created for the three boys : $4P3$ (since the order is important $4C3 \times 3!$, which is $4P3$)
Therefore total possibilities $=3! \times 4P3 = 144$
Now the answer to the problem is $72$, which is half of my answer. What am I double counting?
If you use your method, than these lines are also accepted too:
$$-G-G-G-\Rightarrow BG-GBGB;BGBG-GB$$
For each of the two lines above, there are $3!$ ways to rearrange boys and $3!$ ways to rearrange girls, so you have include $2\times 3!\times 3!=72$ incorrect cases ("$-$" in the line above stands for "empty").
Girls and boys are counted seperately.
For each case (girls first and boys first are two distinct cases), the number of ways to rearrange girls is $3!$, the number of ways to rearrange boys is also $3!$.
So the answer should be $3!\times\ 3!\times 2=72$.