A rental car company $40 per day plus $0.20 for each mile the rental car is driven if a customer gives the rental gives the rental attendant $100 for a charge of $56 how many miles did the customer drive

if the charge is $56, what does it matter how much he gave to the attendant?

To drive m miles in one day, the charge is 40 + 0.20m

so you just need to solve
40 + 0.20m = 56

Let's break down the given information step-by-step.

Step 1: Determine the daily rental rate.
According to the given information, the rental car company charges $40 per day.

Step 2: Determine the additional charge per mile.
According to the given information, the rental car company charges an additional $0.20 for each mile the car is driven.

Step 3: Calculate the total charge for the rental.
The customer gave the rental attendant $100, and the total charge was $56. Therefore, the change the customer received must be the difference between the payment and the charge:
Change = Payment - Charge = $100 - $56 = $44

Step 4: Calculate the number of days the car was rented for.
The daily rental rate is $40. To find the number of days, divide the change received by the daily rental rate:
Number of days = Change / Daily rental rate = $44 / $40 = 1.1 days

Step 5: Calculate the total additional charge for the mileage.
The customer was charged $0.20 per mile driven. To find the total additional charge, multiply the number of miles by the per-mile charge:
Total additional charge = (Total charge - Daily rental rate) / Additional charge per mile = $56 - ($40 * 1.1) / $0.20

Step 6: Calculate the number of miles driven.
To find the number of miles driven, divide the total additional charge by the per-mile charge:
Number of miles = Total additional charge / Additional charge per mile

By following these steps, you can calculate the number of miles the customer drove.

To solve this problem, we need to set up an equation.

Let's denote the number of miles driven by the variable "m." From the problem, we know that the rental car company charges $40 per day plus $0.20 per mile. So, the total cost for the rental can be expressed as:

Total cost = $40 (daily fee) + $0.20 (per mile charge) * m (miles driven)

According to the problem, the customer gave the rental attendant $100, and the charge was $56. Therefore, we can set up the equation:

$100 - $40 - $0.20m = $56

Now, let's solve for "m":

$100 - $40 - $0.20m = $56
$60 - $0.20m = $56
$0.20m = $60 - $56
$0.20m = $4

To solve for "m," we need to divide both sides of the equation by $0.20:

m = $4 / $0.20
m = 20

Therefore, the customer drove 20 miles.