A dependent variable is the variable being tested and measured in a scientific experiment. The dependent variable is 'dependent' on the independent variable
The 6 hot dogs are dependent on whether the teammates will bring friends. In other words, if there are no friends, there are no hot dogs. Note that the teammates are the independent variable that is they are not dependent on any variable.
Every time you play a song 8 different songs can be played, since you do this 3 times: Or, an easier way to write this if play them many times: In which the 8 is how many options and the 3 how many times you play.