Here, the number of muffins made by Victoria is based on the classmates she has.
As the number of classmates (c) doesnt have any dependence with the muffins, it is the independent variable.
While, as the number of muffins (m) is purely dependent on the number of classmates, m is the dependent variable.