a taxi costs $2.75 for the first quarter of a mile and $0.85 for each subsequent quarter mile.A ride that cost $23.15 is how many miles longer than a ride that costs $17.20?(please i don't want example show me how u work it out )

c = 2.75 + .85q

where
c = cost of ride
q = number of 1/4 miles driven

There are two ways you can tackle this. One is to figure the length of each ride:

23.15 = 2.75 + .85q
q = 24 (6 miles)

17.20 = 2.75 + .85q
q = 17 (4.25 miles)

So, the more expensive ride is 1.75 miles longer
------------------------------------
The other way is to see that once the initial charge is subtracted, the difference in cost is just .85 times the difference in quarter-miles:

(23.15-2.75)- (17.20-2.75) = .85d
Note how you don't even have to worry about the initial cost, since it cancels out when both charges are the same:
23.15-17.20 = .85d
5.95 = .85d
d = 7 quarter-miles
or, 1.75 miles difference

To find out how many miles longer the $23.15 ride is compared to the $17.20 ride, we need to subtract the cost of the $17.20 ride from the cost of the $23.15 ride.

Let's denote the cost of the $17.20 ride as "Cost1" and the cost of the $23.15 ride as "Cost2". The cost of the $17.20 ride is $17.20 and the cost of the $23.15 ride is $23.15.

Cost1 = $17.20
Cost2 = $23.15

To calculate the number of miles longer, we need to determine the cost difference between the rides. We can set up an equation using the given pricing information.

Let's denote the number of miles for the $17.20 ride as "Miles1" and the number of miles for the $23.15 ride as "Miles2". The formula to calculate the cost of a ride given the distance is:

Cost = $2.75 + ($0.85 * (Miles-0.25))

Using this formula, we can calculate the number of miles for each ride. First, we'll solve for "Miles1" using Cost1:

$17.20 = $2.75 + ($0.85 * (Miles1-0.25))

Then, solve for "Miles2" using Cost2:

$23.15 = $2.75 + ($0.85 * (Miles2-0.25))

Finally, subtract the number of miles for the $17.20 ride from the number of miles for the $23.15 ride to find the difference:

Difference = Miles2 - Miles1

By solving the equations, you can determine the number of miles for each ride and find out how many miles longer the $23.15 ride is compared to the $17.20 ride.