A theater sells a combo pack of popcorn, a soft drink, and a movie ticket for $12. For groups of five or greater, the theater gives a group discount of $3 per person. What is the total cost for a class of 30 students?

Can someone Put the mathematical sentence as well?