To solve this problem, we begin by calculating the work rates of Anil, Sunil, and Bimal.
Anil works alone for the first 3 days.
\[ \text{Work done by Anil} = 3 \times \frac{1}{20} = \frac{3}{20} \]
From Day 4, Sunil joins Anil. Their combined work rate:
\[ \frac{1}{20} + \frac{1}{40} = \frac{3}{40} \]
Let the number of days they work together be \( x \). Then work done by Anil and Sunil together is:
\[ x \times \frac{3}{40} = \frac{3x}{40} \]
Total work done by Anil and Sunil =
\[ \frac{3}{20} + \frac{3x}{40} \]
Bimal did 10% of the job, so Anil and Sunil together did 90%:
\[ \frac{3}{20} + \frac{3x}{40} = \frac{9}{10} \]
Convert \( \frac{3}{20} \) to denominator 40:
\[ \frac{6}{40} + \frac{3x}{40} = \frac{36}{40} \] \[ \frac{6 + 3x}{40} = \frac{36}{40} \Rightarrow 6 + 3x = 36 \Rightarrow 3x = 30 \Rightarrow x = 10 \]
Total days = 3 (Anil alone) + 10 (Anil & Sunil) = 13 days.