X Jim began a 219-mile bicycle trip to build up stamina for a triathlon competition. Unfortunately, his bicycle chain broke, so he finished the trip walking. The whole trip took 8 hours. If Jim walks at a rate of 4 miles per hour and rides at 38 miles per hour, find the amount of time he spent on the bicycle.