### Instruction: The first agency charges 20.25 dollars per day and 0.14 dollars per mile. The second agency charges 18.25 dollars per day and 0.22 dollars per mile. How many miles would you have to drive before the first agency is less expensive than the second? Let's program in Python in the response.### Response: from sympy import Eq, Symbol, solve

dollar_per_day_agency_1 = 20.25
dollar_per_mile_agency_1 = 0.14
dollar_per_day_agency_2 = 18.25
dollar_per_mile_agency_2 = 0.22

# x = number of miles at which charges of both the agencies are same
x = Symbol('x')
eq = Eq(dollar_per_day_agency_1+(dollar_per_mile_agency_1*x), dollar_per_day_agency_2+(dollar_per_mile_agency_2*x))

answer = solve(eq)

print(answer[0])