Tom and Jessica are going to Disneyworld. Snacks are EXPENSIVE there. They each got a Mickey ice cream, and Jessica also got cotton candy. Tom only had $9, so Jessica paid for the rest, which was $4. The ice cream cost $5 each, what was the cost of the cotton candy? Write an equation to represent the word problem and solve it. (Show all of your steps)

Let x be the cost of the cotton candy.

Tom paid 5 * 2 = <<5*2=10>>10 dollars for the ice cream.
Jessica paid 10 + x = 4 + 9 = <<10+x=13=13>>13 dollars.
Combining like terms, we get 10 - 13 = -3 + x
Subtracting x from both sides, we get -x = -3
Dividing both sides by -1, we get x = 3.
The cost of the cotton candy is 3 dollars. Answer: \boxed{3}.

Let's break down the problem and create an equation to represent it.

Tom and Jessica each got a Mickey ice cream, which cost $5 each. So the cost of two ice creams would be $5 x 2 = $10.

Tom had only $9, so Jessica paid for the remaining amount, which is $10 - $9 = $1.

Now, we know that Jessica also got cotton candy, and we need to find the cost of the cotton candy.

Let's represent the cost of the cotton candy with a variable, say "c". Since Tom and Jessica already spent $9 on ice cream, the total cost must be $9 + c.

According to the problem, Jessica paid for the remaining $1, so we can write the equation as:

$9 + c = $1

To find the value of "c", we need to isolate the variable. To do this, we can subtract $9 from both sides of the equation:

$9 - $9 + c = $1 - $9
c = -$8

Now we have the cost of cotton candy, which is -$8. However, it does not make sense to have a negative cost in this context. It seems there might be an error or missing information in the problem statement. Please double-check the details provided and ensure all the information is accurate.