x can do a piece of work in 40 days . he works at it for 8 days and then y finished it in 32 days . how long will y take to complete the work ?
"work done by x in 8 days = 8 * 1 / 40 = 1 / 5 remaining work = 1 - 1 / 5 = 4 / 5 4 / 5 work is done by y in 32 days whole work will be done by y in 32 * 5 / 4 = 40 days answer is b"
multiply(32, inverse(subtract(const_1, divide(8, 40))))