To model the situation described, we start with the initial fee and the cost per mile:
- Initial fee: $4
- Cost per mile: $2
- Total cost: $28
The equation that represents the total cost of the taxi ride can be set up as follows:
Where
Now, let's solve the equation:
-
Subtract 4 from both sides:
-
Divide both sides by 2:
This means the taxi traveled 12 miles.
Looking at the options provided:
- A:
(Incorrect) - B:
(Incorrect) - C:
(Incorrect) - D:
(Correct)
Therefore, the correct choice is D: