Okay so I know forums are generally really good at flaming and spamming people who post things in the wrong forum or break code etc but I'm kinda in a hurry so I'm sorry in advance if I posted this in the wrong place. All I need is someone could help me figure out what the correct equation for this word problem is so I can solve it. Also if you could explain why that is the equation it would help alot more.

"Adults' tickets to a play cost $5, and students' tickets cost $2. If 295 tickets were sold and the total receipts were $950, how many students tickets were sold?"