x can finish a work in 15 days . y can finish the same work in 20 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 / 15 work done by y in 1 day = 1 / 20 work done by y in 12 days = 12 / 20 = 3 / 5 remaining work = 1 – 3 / 5 = 2 / 5 number of days in which x can finish the remaining work = ( 1 / 3 ) / ( 1 / 15 ) = 5 a"
divide(subtract(const_1, multiply(12, divide(const_1, 20))), divide(const_1, 15))