A car rental company charges a flat fee of $50 per day plus $0.25 per mile driven. Another company charges a flat fee of $40 per day plus $0.35 per mile driven. If you plan to rent a car for 3 days, how many miles must you drive for the total cost to be the same at both companies? Let's think step by step and output the final answer within \boxed{}.
user