So 2 pairs of pants be P1, P2. 4 shirst be s1,s2,s3,s4. 2 shoes : d1,d2.
All possible lists : p1,s1,d1 ; p1,s1,d2 ; p1,s2,d1; p1,s2,d3 ; p1,s3,d1; p1,s3,d2; p1,s4,d1; p1,s4,d2; p2,s1,d1; p2,s1,d2; p2,s2,d1; p2,s2,d2; p2,s3,d1; p2,s3,d2; p2,s4,d1; p2,s4,d2;
⇒ Thus the total of outfit that can be made is 16 outfits.