In how many ways can 5 people, A, B, C, D, E, be seated in a row such that C and D are not seated next to each other as well as A and B are not seated next to each other? Choose one.
A) 384
B) 396
C) 576
D) 24
E) 696
Number of total arrangements = 5!   Restriction 1= ABC24 not next to each other --&gt; let say AB and C24 are considered as one unit, respectively   Restriction 2= AB is not the same as BA + C24 is not the same as 24C --&gt; the number will increase by 2*2   Total number of arrangements - Number out of restrictions = Result   5! - (4!*2*2) = 120 - (24*2*2)= 
<gadget id="calculator">120 - (24*2*2)</gadget>
<output>24</output>
24   Answer 24
<result>D</result>
In how many ways can 5 people, A, B, C, D, E, be seated in a row such that C and D are not seated next to each other as well as A and B are not seated next to each other?