A deputy responds to an incident 18 miles away. For the first 12 miles, the deputy travels at an average speed of 48 mph. For the remaining 6 miles, the deputy travels at an average speed of 36 mph. How many total minutes did it take the deputy to arrive at the scene?