Let's represent the number of miles driven in a day by "m".
The cost of renting from company A can be represented by the equation:
Cost_A = 60 + 0.3m
The cost of renting from company B can be represented by the equation:
Cost_B = 40 + 0.7m
To find out how many miles must be driven in a day to make the rental cost for company A a better deal than company B's, we need to set the two equations equal to each other and solve for "m":
60 + 0.3m = 40 + 0.7m
Simplifying the equation, we get:
20 = 0.4m
Dividing both sides by 0.4, we get:
m = 50
Therefore, if the number of miles driven in a day is greater than 50, it would be more cost-effective to rent from company A. If the number of miles driven is less than 50, it would be more cost-effective to rent from company B.