Irwin rode his bicycle from one end of a trail to another and back at a speed of 20 miles per hour. If the trail is 4 miles long, for how many hours was Irwin riding?