Let's call the number of miles driven "m". The total cost of renting a truck from Company A will be:
Cost_A = 45 + 0.1m
The total cost of renting a truck from Company B will be:
Cost_B = 25 + 0.3m
To find the point at which the costs are the same, we need to set the two expressions equal to each other:
45 + 0.1m = 25 + 0.3m
Simplifying:
20 = 0.2m
Dividing both sides by 0.2:
m = 100
Therefore, the costs of renting from Company A and Company B will be the same if the truck is driven for 100 miles.