Let's define:
C(x): cost of the trip
x: miles traveled
From the description:
If x is between 0 and 0.5 miles (0.5 included) the cost is $2.00
If x is between 0.5 and 0.75 miles (0.75 included) the cost is $2.40
If x is between 0.75 and 1 miles (1 included) the cost is $2.80
If x is between 1 and 1.25 miles (1.25 included) the cost is $3.20
And so on.
The step function that describes this behavior is:
[tex]C(x)=\begin{cases}2.00,0\le x\le0.5 \\ 2.40,0.5And the graph is