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