Answer:
work hours: independent
salary: dependent
Explanation:
The independent variable is what is you're "typically" in control of, or it has a constant increase. For example time, you're not really "in control" of time, but it has a constant change. One example where you are in control, is how much money you deposit into your account, you can slightly control it (you obviously can't deposit more than you have), but it's still somewhat in your control.
The dependent variable is what changes as a result of the independent variable changing. So for example in the previous example, where the money deposited was the independent variable, the dependent variable would be the total amount of money in your account
In this case the number of hours during the week is the independent variable and the salary depends on how many hours you work in the week so that is the dependent variable