设乙中途离开x天7/14+(9-x)/18+2/12=11/2+1/2-x/18+1/6=1x/18=1/66x=18x=3乙中途离开了3天
解:设乙离开x天。(1/14+1/18)×(7-x)+(x/14)+(1/12+1/18)×2=1112/126-16x/126+9x/126+35/126=1147/126-7x/126=17x=21x=3答:乙离开了3天