Solve each problem.
The cost of parking a car at an hourly parking lot is 3 dollar for the first half-hour and 2 dollar for each additional half-hour or fraction of a half-hour. Graph the function $f$ that models the cost of parking a car for $x$ hours over the interval $(0,2]$