The independent variable is the one that you change which is the number of hours that it takes
The dependent variable is the variable that changes based on the independent variable. The wages depends on the hour worked so the wages are the independent variable
The wages equal the fixed cost plus the hourly rate times the number of hours where W is the wages and h is the number of hours