Rapid rental car company charges a $40 rental fee $15 for gas, and $0.25 per mile driven. For the same car, Capital Cars charges $5 for a rental and gas and $0.35 per mile. Find the number of miles for which the companies' charges will be the same. How much will the rental be