A committee of 5 persons, consisting of at most two ladies, can be done in the following ways:
(a)Selecting 5 gents only out of 6. This can be done in 6C5 ways.
(b)Selecting 4 gents only out of 6 and 1 lady out of 4. This can be done in 6C4×4C1 , ways.
(c)Selecting 3 gents only out of 6 and 2 ladies out of 4. This can be done in 6C3×4C2 ways.
Since the committee is formed in each case, so, the total number of ways of forming the committee
=6C5+6C4×4C1+4C2=6+60+120=186