1. A person travelled a distance of 50 km in 8 hours. He covered a part of the distance on foot at the rate of 4 km per hour and a part on a bicycle at the rate of 10 km per hour. How much distance did he travel on foot?