In a mountainside car rally, a certain team traveled for two days. On the second day, the team traveled 2 hours longer than they did the first day, at an average speed 5 mph greater. If the team covered a total distance of 180 miles and took a total of 14 hours to complete the entire rally, what was their average speed, in miles per hour, on the second day?