The independent variable is 12$ per hour since it is a rate of change and the dependent variable is the amount of money earned, since it is dependent on time(hours) worked. The domain is set of possible x values, in this case your domain is [0,40]. Then range is set of possible y values, which is amount earned, which is between 0 and 480. Meaning that your range is [0,480]