A taxi company charges two dollars 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 function of the distance traveled (in miles) for 0 < x < 2, and sketch the graph of this function.