Answer :

Taxi driver has specified ration $/miles which we assume is x (put the value here if u have)
IF taxi driver will drive 4.8+7.3 miles we can find the earnings by multiplying x by whole distance, so
cash=x(4.8+7,3)
cash=x*12.1 - its our result.