You are selling tickets for the homecoming football game. Student tickets cost $4 and general admission tickets cost $6. You sell 450 tickets and collect $2340.

How many of each type of ticket did you sell?

A. Not enough information

B. 180 students;270 general

C. 270 students;180 general

D. 225 students;225 general

number of student tickets --- x

number of general tickets ---- 450 - x

4x + 6(450-x) = 2340

solve the equation to find the correct combination