Total work is constant.
∴ Total work = (x-2)(x) = 43*(x+7)(x-10)
⇒x2−6x−280=0
Solving for x; we get x = 20.
Now 18 men takes 20 days to complete work
∴ 24 men will take 20×1824 days = 15 days
Alternatively:
(x−2) →x days
(x+7) →(x−10) days for 34th of work
⇒(x−2) will take 34x days for 34th of work
So x−2x+7=x−103x/4
⇒x2−6x−280=0
So, x = 20
Now 18 men takes 20 days to complete work
∴ 24 men will take 20×1824 days = 15 days