Final answer:
Subtracting the base fee of $19.95 from the total payment of $219.21 gives us the cost of the miles driven, which is $199.26. Dividing this amount by the per-mile charge of $0.82, we find that Ahmad drove the truck for 243 miles.
Step-by-step explanation:
Ahmad rented a truck and incurred two types of charges: a base fee and a per-mile charge.
To calculate the number of miles Ahmad drove the truck, we use the information provided about the total cost and the structure of the fees. The base fee was $19.95, and the per-mile charge was $0.82 per mile. Ahmad paid a total of $219.21 when he returned the truck.
First, we subtract the base fee from the total amount to find the total cost of the miles driven:
Total cost of miles = Total payment - Base fee
Total cost of miles = $219.21 - $19.95
Total cost of miles = $199.26
Next, we divide the total cost of the miles by the per-mile charge to find the number of miles driven:
Number of miles = Total cost of miles / Per-mile charge
Number of miles = $199.26 / $0.82
Number of miles = 243
Therefore, Ahmad drove the truck for 243 miles.