How would u write "$18 per week plus $2 for each visit to the event" in y=mx+b form?

18 is the constant so you want

y = 2x + 18 , where x is the number of visits