The independent quantity is the fact that they are going to charge $10 per car.
That is something they can control, that is known and won't change therefore it is independent.
The dependent quantity is: They don't know exactly how many cars are coming to be washed.
That is something they can't control, it's unknown, therefore it is dependent.