Answer:
60 miles
Explanation:
The basic equation is:
Fixed Cost + Variable Cost = Total Cost
The Fixed Cost = 315
The Variable Cost = 0.45x [where x is the number of miles]
The Total Cost = 342
Now, we write these in place of the original equation and get our mathematical equation to solve for x:

Now, we simply solve for x:

The trip was 60 miles