A car travels at a constant speed of miles per hour for 3 hours. Then, it increases its speed by 10 miles per hour and travels for another 2 hours. The total distance , in miles, traveled by the car is given by the expression . If the total distance traveled is 300 miles, what is the speed of the car, in miles per hour, during the last 2 hours of its journey?