At a school carnival, tickets can be purchased to participate in different activities. The table shows the total cost for different numbers of tickets. What is the constant of proportionality that relates y, the total cost in dollars, to x, the number of tickets purchased?