Solution
Given that;
In new york city,
The cost of a taxi after x miles is given as
y = 0.4x + 2.50 -------------------(1)
The cost of a taxi in San Francisco is assumed to be
Y = aX + b
From the table
2.85 = a(0) + b => b = 2.85
11.85 = a(20) + b
=> 11.85 = a(20) + 2.85
Substracting 2.85 from both sides
=> 11.85 - 2.85 = a(20) + 2.85 -2.85
=>20a = 11.85 - 2.85
=> 20a = 9
=> a = 9/20 = 0.45
=> Y = 0.45X + 2.85 --------------(2)
From equations (1) and (2),
San Francisco has a 0.45 rate per mile, while New York has a 0.4 rate per mile.
Obviously, San Francisco is the city in which the rate per mile is higher