x can finish a work in 36 days . y can finish the same work in 24 days . y worked for 12 days and left the job . how many days does x alone need to finish the remaining work ?
"work done by x in 1 day = 1 / 36 work done by y in 1 day = 1 / 24 work done by y in 12 days = 12 / 24 = 1 / 2 remaining work = 1 – 1 / 2 = 1 / 2 number of days in which x can finish the remaining work = ( 1 / 2 ) / ( 1 / 36 ) = 18 e"
divide(subtract(const_1, multiply(12, divide(const_1, 24))), divide(const_1, 36))