Team B completed the repair in only 20 days, and repaired this road every day 1/20.
Workload of two teams in one day =1/30+1/20 =112.
So the cooperation needs1(1/30+1/20) =12 days.