Rahman can complete some work in 10 days, while Rahim can complete the same work in 15 days. They started the work together, and when the work was half complete, Rahim fell ill and Rahman had to finish the remaining work. How long did it take to complete the work?