The cost of parking for first hour is 2 dollars.
\The increasing value of charge for each additional hour is 1 dollar.
\The total parking charge must be a add of 2 dollars, so the graph will be the graph of a step function.
\If the time spent on parking is greater than 0 hours, but less than or equal to 1 hour, then the cost of parking is 2 dollars.
\If the time is greater than 1 hour, but less than or equal to 2 hours, then the cost of parking is dollars.
The cost of parking for third hour is dollars, and so on.
The situation represents the step function.