Q.
Number of ways in which 3 men and their wives can be arranged in a line such that none of the 3 men stand in a position that is ahead of his wife, is
Treat H1W1 as alike objects say XXH2W2 as YY and H3W3 as ZZ
Now arrangements of XXYYZZ i.e. 2!2!2!6! is this required number of ways (think!)
Alter :6C2( for H1W1) and 4C2( for H2W2)××××××
Hence total ways (6C2⋅1)(4C2⋅1)=2!2!2!6!