Answer: B. 135
Explanation:
Given : Number of representatives from each company = 3
Number of companies =6
Total number of people there :
![6*3=18](https://img.qammunity.org/2020/formulas/mathematics/middle-school/s0mgggg4dtt3919rqj655ifedv3q52j3o7.png)
The total number of ways that 18 people shake hands with each other :-
![^(18)C_(2)=(18!)/(2!(18-2)!)=(18!)/(2(16!))=153](https://img.qammunity.org/2020/formulas/mathematics/high-school/a8s33dful7hynzoj5wknliwl1iwbykaobg.png)
The number of ways that representatives shake hands with people from their own company :-
![6*^3C_2=6*3=18](https://img.qammunity.org/2020/formulas/mathematics/high-school/b05mqfp9ritmyl21m2s9oroekb8hfjp0nt.png)
If the representatives did not shake hands with people from their own company , then the total number of ways for handshake :-
![153-18=135](https://img.qammunity.org/2020/formulas/mathematics/high-school/7bgbulgip0wp9f3ln6jc6ut7mwkk04pxcb.png)
Hence, the total number of handshakes will be 135.