25 men and 15 women can complete, a piece of work in 12 days.
∴ Work done by them in 8 days = 8/12 = 2/3
Remaining work is completed by 25 men in 6 days
∴ Time taken by 25 men to complete the whole work = 3 x 6 = 18 days
From the question
Time taken by 15 women to complete the whole work = 1 / (1/12 - 1/18)
= 1 / {(3 - 2) / 36} = 36/(3 - 2) = 36 days