This question is a lot less complicated than it sounds:
cost = c
amount of tickets = s
Since we know that each ticket costs 7$, we multiply the amount of tickets by 7.
c = 7s
The 7 is an independent variable. It will always be multiplied by s, no matter what s is.
The c is a dependent variable. Different numbers for s change what c is.