Let's write a linear equation to represent both situations:
Situation A: Unlimited mileage
Pa = 40
Pa = Price of renting a car in A.
Situation B: Not unlimited mileage
Pb = 30 + 0.15x
Pb = Price of renting a car in B.
x = mile over 100.
If plan A saves Lia money:
To find x, let's subtract 30 from both sides and then divide the sides by 0.15:
Considering that x is the miles over 100, in order to save money, Lia has to travel 100 + 66.7 miles = 166.7 miles.
Answer: 166.7 miles.