A car rental company charges $34 per day for a rented car and $0.50 for every mile driven. A second car rental company charges $20 per day and $0.75 for every mile driven. What is the number of miles at which both companies charge the same amount for a one-day rental?