A car traveling at 70 miles per hour traveled one hour longer than a truck traveling 60 miles per hour. If the car and truck traveled a total of 330 miles, for how many hours did the car and truck travel all together