A taxi company charges $1.00 for the first mile (or part of a mile) and 20 cents for each succeeding tenth of a mile (or part).
Express the cost C (in dollars) of a ride as a piecewise defined function of the distance x traveled (in miles) for 0 < x ≤ 2 and sketch a graph of this function.