Answer:
y = $0.50x + $5. $7 if you went 4 miles
Explanation:
$0.50 will be the coefficient for the variable x since the amount changes based on how many miles you ride. $5 will be the amount you are charged just for getting into the taxi and doesn't change depending on how many miles you go.
I used x = 4 for the number of miles travelled.
$7 total cost