Five athletes are chosen to represent their sports at the school pep rally. Two girls and three boys are selected to walk into the gymnasium. If a girl must enter first and the other girl must be the last one to enter, how many different ways can the athletes enter the gym?

So they must enter in the order

G B B B G

number of ways
= 2 * 3*2*1 * 1
= 12