A can complete a work in 6 days. But due to other work, his efficiency was reduced by 50%, so he took B's help and completed the work in 6 days. If B alone was assigned the task, how many days does he take to complete the work?