Maxine needs to rent a car for a week. She has $500 to cover the rental. If the car costs $45 a day and $0.25 a mile, how many miles can she drive for $500?