Ariel makes a sandwich using four kinds of Italian lunch meat: A, B, C and D and two kinds of Italian cheese: X and Z. Ariel's sandwich has a single layer of each type of meat and a single layer of each kind of cheese, but he also wants to make sure that the two types of cheese are not next to each other. How many different ways can Ariel arrange the meat and cheese on his sandwich?

1 answer

6!-5!*2=480