solution: Ration of times taken by A and B =`160 : 100 = 8 : 5`. `8 : 5 :: 12 : X` or `8x = 5 xx 12` or `x = 7 1/2` days.