tis always a good idea when factoring to start off with a quick prime factoring.

The dependent variable is the cost of the pizza.
The Independent variable (or what you manipulate) is the toppings of the pizza, and the dependent variable (or what changes because you manipulated something) is the total cost of the pizza