Answer: 6 hours
Explanation:
Given : The time taken by Company X to install chairs :

The time taken by Company Y to install chairs :

Then , the time taken (T) by both of them to install the chairs if they work together is given by :-

Hence, it will take 6 hours to the two companies if they working together .