Company A:
Let total employees in department Z = 3x
Total employees in department X = 133(1/3)% of 3x = 4x
Total employees in department Y = 4x * (11/13) = 44x/13
According to the question:
(44x/13)  -  3x = 5
44x  -  39x = 65
x = 13
Total employees in department Z = 3x = 39
Total employees in department X = 4x = 52
Total employees in department Y = 44x/13 = 44
Company B:
Total employees in department Y = 138(6/13)% of 39 = 54
Total employees in department X = 54 * (2/3) = 36
Total employees in department Z = 250% of (54  -  36) = 45
Company C:
Let total employees in department X and Z is 8x and 10x respectively.
(8x + 10x)/2 = 36
x = 4
Total employees in department X = 8x = 32
Total employees in department Z = 10x = 40
Total employees in department Y = 5% of (32 * 40) = 64
| Company | Total employees in X | Total employees in Y | Total employees in Z | 
| A | 52 | 44 | 39 | 
| B | 36 | 54 | 45 | 
| C | 32 | 64 | 40 | 
Total employees in department Y of company C = 64
Total employees in department Z of company C = 40
Difference = 64  -  40 = 24
Required percent = (24/40) * 100 = 60%