I think you means 12daysnot hours.

Let be the time it takes the first worker. Let be the time it takes the second worker. When working together we have . When the first worker does half the full job in days so it takes him days to do half-the job. Likewise it does the other worker days. So . Now solve these equations.