The equation that relates the cost compared to the miles traveled for a Yellow Cab is y = 3x + 6
How to determine the equation that relates the cost compared to the miles traveled for a Yellow Cab?
From the question, we have the following parameters that can be used in our computation:
The graph
A linear equation is represented as
y = mx + c
Where
c = y when x = 0
For the yellow cab, we have
c = 6
So:
y = mx + 6
Using the points (2, 12), we have
2m + 6 = 12
Evaluate
m = 3
So, we have
y = 3x + 6
Hence, the equation is y = 3x + 6