For his next business trip, Martin can spend a total of $300 for transportation costs. He finds a rental company that charges $24.00 per day to rent a car plus $0.80 for each mile the car is driven. He will rent the car for 5 days. Write and solve an equation to determine the maximum number of miles Martin can drive and stay within his budget.