Because it only took Team A six days to finish, the efficiency of Team A is one sixth.
Divide the total work of Party A by work efficiency = working hours, and the time of Party A * * * is 5/8÷ 1/6= 15/4 days. It took Party B 15/4 days when it was completed, because it was jointly repaired by two teams.
Because Team B can repair 36m by itself, Otsuichi has repaired 36x15/4 =135m.
B's total workload divided by his corresponding score of three eighths is equal to the total length of the road (that is, the unit of "1" is calculated by division):135 ÷ 3/8 = 360m.