At Westonci.ca, we provide clear, reliable answers to all your questions. Join our vibrant community and get the solutions you need. Join our Q&A platform to connect with experts dedicated to providing precise answers to your questions in different areas. Get precise and detailed answers to your questions from a knowledgeable community of experts on our Q&A platform.

Tyrone likes to snack on his big bag of candy. He takes 8 pieces of candy from the bag each time he snacks. After eating 18 snacks, there are only 6 pieces of candy remaining in the bag.
The number c of pieces of candy remaining in the bag is a function of s, the number of snacks Tyrone eats.
Write the function's formula.
c=_____