Ella and Margaret were at a carnival. They each got a ticket for the Ferris wheel. Ella got a snow cone, and Margaret got a cotton candy. Ella had a certificate for $6 off the cost. Margaret paid the rest, which came to $12.75. Each Ferris wheel ticket was $5, and a snow cone was $3.50. What was the cost for cotton candy