At a basketball game of vendor soda, combine total of 252 sodas and hotdogs. The number of soda sold was two times the number of hotdogs sold. What is the number soda and the number of hotdogs sold

Let's represent the number of hotdogs sold as x.

According to the information given, the number of sodas sold is twice the number of hotdogs sold. Therefore, the number of sodas sold is 2x.
The total number of sodas and hotdogs sold is 252, so we can write the equation: x + 2x = 252
Combining like terms, we get 3x = 252
Dividing both sides of the equation by 3, we find that x = 84.
Therefore, the number of hotdogs sold is 84, and the number of sodas sold is 2x = 2 * 84 = 168.