The ratio of efficiency of A to B is 100 : 160, or 5 : 8. The ratio of time taken is the inverse of the efficiency ratio, which is 8 : 5. If A takes 12 days, let B take x days. 8/5 = 12/x. 8x = 60. x = 7.5 days.