The girls can be arranged in 3! = 6 ways. The boys must also be together (if they are not, neither are the girls), and the 3 boys can be arranged in 3! = 6 ways. Together, 6*6 = 36 unique arrangements.