26460 ways
===================
Using the combination formula:
- C(n, k) = n! / (k!(n-k)!), where n is the size of the group to choose from, and k is the number of members to choose.
To select the Democrats:
- C(9, 5) = 9! / (5! * (9-5)!) = 9! / (5! * 4!) = 126 ways
To select the Republicans:
- C(10, 4) = 10! / (4! * (10-4)!) = 10! / (4! * 6!) = 210 ways
The total number of ways to form the committee is the product of the two: