Sarah, Jolly and Betty are female triplets. They and their 10 cousins are posing for a series of photographs. One pose involves all 13 children. How many ways can the 7 boys and 6 girls be arranged in one row under each of the following conditions?
a) The boys and girls must alternate positions.
b) The triplets must stand next to each other.