Abdul's average speed is 20 mph in heavy traffic, and his average speed is 50 mph in light traffic. If he was in heavy traffic for 1 hour and light traffic for 3 hours, how far did Abdul travel?