Next, find an expression for g(x), the total cost of the party if x students sign up between now and the deadline.

Let C be the cost per student to attend the party.

Thus, g(x) = C * x.