Ok. Then you probably have to think this way: It takes A 6 days, B 15 days, C 30 days to get the job done by himself. So now you have to figure out, how long it takes, if they do the job together, multiply that with their daily wage and add up.
Hint: Solve the equation
d/6 +d/15 + d/30 = 1
d should then be the number of days needed, when they work on it together