Explanation:
Since the initial fee is fixed, we can assume it is a constant and the succeeding mile fee is the variable as it changes for every mile covered.
Let x = distance (mile)
let y = total charge (dollars)
Yellowcab company equation for cost calculation; 3.50 + 2.5x = y
laxicab company equation for cost calculation; 4.54+2.3x = z
the two companies charge the same amount when y = z
; 3.50 + 2.5x = 4.54+2.3x
x = 5.2 miles
COST CALCULATION
;3.50 + 2.5x = ?
if x = 5.2;
; 3.50 + 2.5(5.2) =$16.50
OR
; 4.54+2.3x = ?
; 4.54 + 2.3(5.2) = $16.50