a car averages 30 miles per hour for the first 6 hours of a trip and averages 46 miles per hour for each additional hour of travel time . if the average speed for the entire trip is 34 miles per hour , how many hours long is the trip ?