1).
a. D = 10h
Since every hour they travel 10 miles, the distance is 10 times the number of hours.
b. The independent variable is the hours, and the dependent variable is the distance. The distance is dependent on the hours, since every hour they are traveling 10 miles.
2).
a. q = 1500 - n
Since there are a total of 1500 grams of coffee beans, each time we take n amount, the amount of grams will go down. That is why we substract.
b. I think the dependent variable is q. To find q, we have to subtract n from 1500; so q is DEPENDENT on n.