Answer:
A corndog costs 9 tickets.
Step-by-step explanation:
The information provided is:
Let the tickets spent on corndogs be represented by x.
Then the total number of tickets spent by Shaggy and Scooby can be represented as follows:
3x + 5 = 2x + 14
3x - 2x = 14 - 5
x = 9
Thus, a corndog costs 9 tickets.