30 people can complete 3/7th work within 15 days
1 people can complete 3/7th work in 15*30 days =450 days
1 people can complete 1/7th work in (450/3)days =150 days
Now 10 more people added
40 people can complete 1/7th work in (150/40) days
40 people can complete remaining (4/7)th work in (150/40)*4 days=15 days
Total time take to complete the work=Time to complete 3/7th work + Time to complete remaining 4/7th work=15+15=30 days