It takes 16 days for the women to complete the work. So in one day, 1/16 of the work is completed. Since there are 48 women, each women does 1/(16*48) = 1/768 of the work in one day
It takes 24 days for the men to complete the work. SO in one day, 1/24 of the work is completed. Since there are 16 men, each men does 1/(24*16) = 1/384 of the work in one day.
We're told 12 men initiated the work and works for 14 days. So in one day, 1/384 * 12 = 1/32 of the work is done. For 14 days, 1/32 * 14 = 7/16 of the work is done. So 9/16 of the work is unfinished.
We're told 12 women joins the team. 12 women will finish 1/768 * 12 = 1/64 of the work in one day. 12 men will finish 1/32 of the work in one day. So the combined rate in one day = 1/64 + 1/32 = 3/64 of the work in one day.
The number of days needed to complete the remaining 9/16 of the work is therefore 9/16 * 64/3 = 12 days.
The total number of days = 14 + 12 = 26 days.