A car rental agency charges $50 per week plus $0.50 per mile to rent a car. What is the weekly cost to rent the car, f, as a function of the number of miles driven during the week, x. How many miles did you drive during the week if the weekly cost to rent the car was $100?