A psychology laboratory conducting dream research contains 3 rooms, with 2 beds in each room. If 3 sets of identical twins are to be assigned to these 6 beds so that each set of twins sleeps in different beds in the same room, how many assignments are possible?
The twins in each room can be ordered in 2! ways. And the pairs or twins can be ordered in the 3 rooms in 3! ways,
$$(2!)^3 \cdot 3! = 48$$ arrangements.
Surround your text in
**bold**, to write a math equation use, for example,