At a tennis club, the cost, c, of renting a tennis court is 6$ per hour. Write an equation that relates the cost, c, to the time t that a player rents the tennis court.