Question 1164468
the fare is 40 for the first 5 kilometers.
after the first 5 kilometers, the fare is an additional 8 per kilometer.


this is a piecemeal type function.


y = 40 for 0 <= x <= 5.
y = 40 + 8 * (x-5) for x > 5.


if you traveled 15 kilometers, then the cost would be:
40 + 8 * 10 = 120