It took a car 6 hours to cover the distance between points A and B with the speed of 50 mph. How long will it take a bus to cover the same distance, if it travels at 40 mph?