What is the equation, in slope-intercept form, that relates the cost compared to the miles traveled for a Green Cab?

Step-by-step explanation:
Red taxi : y = 2x + 2
Green taxi : y = x + 5
Y are the costs of a ride, X are the miles of a ride.
The y-intercepts are the cost of just getting into a cab.
So, that is $2 for a red cab and $5 for a green cab.
Every mile with a red cab costs $2, while every mile with a green cab costs $1.
Hope this helps :)