Final answer:
When building a house, the number of days required to build is inversely proportional to the number of workers. Using the formula d1 * w1 = d2 * w2, we can solve for the number of days required to build a similar house with 40 workers.
Step-by-step explanation:
When the number of days required to build a house is inversely proportional to the number of workers, we can use the formula d1 * w1 = d2 * w2, where d1 and w1 represent the number of days and workers for the first house, and d2 and w2 represent the number of days and workers for the second house.
Given that one house was built in 30 days with 20 workers, we can plug these values into the formula: 30 * 20 = d2 * 40. Solving for d2, we get d2 = 15.
Therefore, it would take 15 days to build a similar house with 40 workers.