x= miles driven
y=price
The Red Cab Company equation
The Yellow Cab Company equation
we can do the next inequality in order to know what is the company she can take in order to minimize the cost
If the airport is located less than 15 miles from the starting point of the travel, the Red Cap Company is the one with less cost
If the airport is located exactly 15 miles from the start point of travel the price of the two companies is exactly the same
If the airport is located more than 15 miles from the start point of travel the price of the Yellow Cab Company is the one with less cost