The ice skating rink charges an hourly fee for skating and $3 to rent skates for the day. Gillian rented skates and skated for 3 hours and was charged $21. Which equation represents the cost, c(x), of ice skating as a function of x, the number of hours of skating?