PLEASE ANSWER THIS MATH QUESTION FOR 10 POINTS!!!!?

A group of students attends a basketball game. * The group buys x hot dogs at the concession stand for $2 each. * The group buys y drinks at the concession stand for $3 each. The group buys 29 items at the concession stand for a total of $70. How many hot dogs did the group buy?
Answers

?

2x + 3y = 70.......[1] x+y = 29.............[2] // Solve by elimination: Multiply [2] by 2 and // subtract from 1 to eliminate the x variable 2x + 3y = 70.......[1] 2x + 2y = 58.......[2] ----------------- - ..........y = 12.......[3] // Substitute for y from [3] into [2] and solve for x x+y = 29.............[2] x + (12) = 29 x = 29 - 12 x = 17.................[4] // The group bought x=17 hotdogs.....................ANS