Let x denote the number of adult tickets sold, y denote the number of student tickets sold.

Therefore, x + y = 295

The total receipts is $950, and since adult tickets are sold for $5 and student tickets are sold for $2:

5x + 2y = 950

Solve both equations simultaneously to find x and y.

Flaming and spamming are against the Forum Rules.Okay so I know forums are generally really good at flaming and spamming people who post things in the wrong forum or break code