The time required for a trip of a certain distance in a car varies indirectly as the rate the car travels. A trip took 18 hours traveling at 50 miles per hour. How long would this trip take if the car was traveling at 75 miles per hour?