For a car moving at a constant speed, the distance traveled varies directly with the time spent driving. If such a car travels 600 miles in 8 hours, how long does it take to travel 700 miles?