During a football game, the parents of the players are selling pretzels and popcorn to make money. They charge $2.50 for a bag of popcorn and $2 for a pretzel. The parents collect $336 in sales. They sell twice as many bags of popcorn as pretzels.
Write a system of equations to represent the situation.