Let the number of day is expressed as d and number of workers as w.
So relation between number of workers and number of days is,
[tex]\begin{gathered} n\propto\frac{1}{w} \\ n=k\frac{1}{w} \\ n=\frac{k}{w} \end{gathered}[/tex]Substitute 72 for d and 5 for w in the equation to obtain the value of k.
[tex]\begin{gathered} 72=\frac{k}{5} \\ k=72\cdot5 \\ =360 \end{gathered}[/tex]The equation is,
[tex]n=\frac{360}{w}[/tex]Substitute 18 for w to determne the number of day.
[tex]\begin{gathered} n=\frac{360}{18} \\ =20 \end{gathered}[/tex]So 20 days are required to build a house with 18 workers.
Answer is 20 days.