Answer: f(x) = 9 pesos if 0km ≤ x ≤ 4km
f(x) = 9 pesos + (x - 4km)*0.75 pesos if 4km ≤ x
Explanation:
Ok, we know that:
For the first 4km, we have a fixed price of 9 pesos.
For any km after the 4km mark, we have an extra of 0.75 pesos.
Then if x is the number of kilometers, we can write this as:
f(x) = 9 pesos if 0km ≤ x ≤ 4km
f(x) = 9 pesos + (x - 4km)*0.75 pesos if 4km ≤ x
Where we use (x - 4km) because we start counting after the 4km mark.