Six country music bands and 3 rock bands are signed up to perform at an all-day festival. How many different orders can the bands play in if the following conditions apply?
(a) there are no restrictions on the order
(b) all the bands of each type must perform in a row