Let:
T = number of toppings
P(T) = total price Sean will pay
B = Sean's budget
since the cost of the pizza cannot exceed Sean's budget:
6.5m questions
8.7m answers