Mark made a business trip of 214 miles. He averaged 53mph for the first part of the trip and 54mph for the second part. If the trip took 4 hours, how long did he travel at each rate?