Answer
$C(x) = \begin{cases}
2, & \text{if } 0 \lt x \leq 1 \\
2 + 0.2|\lfloor 10(x-1) \rfloor|, & \text{if } x \gt 1
\end{cases}$
The image below shows a graph of C(x) when $0 < x < 2$
Work Step by Step
According to the information given, we can write:
$C(x) = \begin{cases}
2, & \text{if } 0 \lt x \leq 1 \\
2 + 0.2|\lfloor 10(x-1) \rfloor|, & \text{if } x \gt 1
\end{cases}$
See the image above