I drove to the beach at a rate of 40 miles per hour. If I had driven at a rate of 32 miles per hour instead, then I would have arrived 38 minutes later. How many miles did I drive?

x/40 + 38/60 = x/32 solve for x