Hey there!!
The base fee was $15.95 and an extra of $94 cents, 94 cents can be written as $0.94. The number of miles can be denoted as 'm' as the number of miles can vary and it is a variable.
The total cost would be = The base price + The cost for number of miles driven.
The total cost = $15.95 + $0.94 × ( the number of miles driven ).
∴ The number of miles is driven as 'm'.
The total cost = $15.95 + 0.94m
The total cost is given $159.77
Hence,
... $15.95 + $0.94m = $159.77
Subtract 15.95 on both sides :
... 0.94m = $159.77 - $15.95
... 0.94m = 143.82
Dividing by 0.94 on both sides :
... m = 143.82 / 0.94
... m = 153
Hence, the number of miles driven is 153 miles.
Hope my answer helps!!