Let the total cost be y
Let the number of events attended be x
Since a fee of $6 is required to join
and a fee of $1 will be paid for subsequent event
The expression can be given as
y = 6 + 1 X x
y = 6 + x
We can rewrite it to give
y = x + 6