Braydon ran at a rate of 6 mph on his treadmill and then took a walk outside at a rate of 2 mph. He went a total distance of 10 miles and it took him 2 hours.How long did he run on the treadmill, and how long did he walk outside? Explain.