Ravi drove the truck for 187 miles.
Solving word problems in mathematics
Word problem in mathematics requires that we carefully analyze the problem(s) using appropriate mathematical convention and arithmetic operation.
In the given information, Let us assume that:
The number of miles traveled by Ravi = M
The total cost (Q) for this journey in terms of the base fee and the charges per mile can be computed as:
Q = 19.95 + 0.76 M
where;
162.07 = 19.95 + 0.76M
Let us subtract 19.95 from both sides, we get:
162.07 - 19.95 = 19.95 - 19.95 + 0.76 M
0.76 M = 142.12

M = 187 miles
Therefore, we can conclude that Ravi drove the truck for 187 miles.