on a 20 mile course , pat bicycled at an average rate of 30 miles per hour for the first 12 minutes and without a break , ran the rest of the distance at an average rate of 8 miles per hour . how many minutes did pat take to cover the entire course ?