In a relay race, there are six teams, each consisting of four runners. Each runner runs a distance of 400 meters. If the first three teams complete the race in 10 minutes, while the remaining teams take 12 minutes, calculate the total distance run by all the runners and the total time taken by all the teams to complete the race. Let's think step by step and output the final answer within \boxed{}.
user