It costs 31.95d + 0.10m dollars to rent a car for d days and drive it m miles. How much does it cost to rent a car for 5 days if the car is driven a total of 600 miles ?