the dependent variable depends on the value of the independent variable
normally it is something like
dependent variable=something times independent variable+something
it is normally the result or what the equation is
therefor the dependent variable is c (how much he has to pay total)