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