You can put this solution on YOUR website! The result wanted is DOLLARS and you want to relate DOLLARS to MILES; the speed of travel is not important in this problem. It would be important if you had datum about each travel speed.
;
Look carefully where the units are, and that certain units cancel to give you a result in units of dollars.