Let the amount of work done by:
From the first condition:
\[ 12M \times 10 + 6W \times 10 = \text{Total work} \] \[ 120M + 60W = \text{Total work} \]
From the second condition:
\[ 3M \times 25 + 6W \times 25 = \text{Total work} \] \[ 75M + 150W = \text{Total work} \]
Subtracting the two equations:
\[ (120M + 60W) - (75M + 150W) = 0 \] \[ 45M - 90W = 0 \implies M = 2W \]
Substituting \( M = 2W \) into the first equation:
\[ 120(2W) + 60W = \text{Total work} \] \[ 240W + 60W = 300W \]
Let the number of men required be x. The work done by x men in 5 days is:
\[ 5 \times x \times M = 300W \] Substituting \( M = 2W \): \[ 5 \times x \times 2W = 300W \] \[ 10xW = 300W \] \[ x = 30 \]
The number of men required to complete the work in 5 days is 30.