You start with $240 in your account. You spend $30 each week.

If m is the money you have left in your account after w weeks, which is the independent variable (domain) and which is the dependent variable (range)?

The independent variable (domain) is the number of weeks (w), and the dependent variable (range) is the money left in the account (m).